Fix xmpp invite bug.