Corrected a regression in xmpp