Changeset 184:a9ab7d3945e2 for wokkel/client.py
- Timestamp:
- May 6, 2013, 9:15:41 PM (8 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wokkel/client.py
r178 r184 88 88 def __init__(self, jid, password, host=None, port=5222): 89 89 self.jid = jid 90 self.domain = generic.prepareIDNName(jid.host)90 self.domain = jid.host.encode('idna') 91 91 self.host = host 92 92 self.port = port … … 183 183 184 184 def clientCreator(factory): 185 domain = generic.prepareIDNName(factory.authenticator.jid.host)185 domain = factory.authenticator.jid.host.encode('idna') 186 186 c = XMPPClientConnector(reactor, domain, factory) 187 187 c.connect()
Note: See TracChangeset
for help on using the changeset viewer.