Fix the XMPP ID retrieval