ggozad/jarn.xmpp.core — Issue #14: Invalid UserJID when using email as user login.
Author: tlyng
Created: 2011-10-28 11:05:24+00:00
State: open

If Plone is setup to use the user email as login name the getUserJID fails:

Module jarn.xmpp.core.subscribers.user_management, line 33, in onUserCreation
Module jarn.xmpp.core.settings, line 21, in getUserJID
Module twisted.words.protocols.jabber.jid, line 137, in __init__
Module twisted.words.protocols.jabber.jid, line 65, in parse
Module twisted.words.protocols.jabber.jid, line 95, in prep
InvalidFormat: Invalid character in hostname

A possible solution is to transform the @ in principal_id to something that is not causing an invalid hostname for JID