Open indeyets opened 9 years ago
>>> from sleekxmpp.jid import JID >>> jid1 = JID(local='HELLO', domain='WORLD') >>> jid1.bare u'HELLO@world' >>> jid2 = JID('HELLO@WORLD') >>> jid2.bare u'hello@world'
Seems like local-part is not processed when given as separate parameter
my current local "solution" is:
>>> jid3 = JID(jid1.bare) >>> jid3.bare u'hello@world'
Seems like local-part is not processed when given as separate parameter