getDomainFromJid synced with original version