removed ClientXMPP.server in favor of ClientXMPP.domain

This commit is contained in:
Tom Nichols
2010-07-09 17:25:11 -04:00
parent d09cbef9a7
commit 9c5285987d
6 changed files with 13 additions and 26 deletions

View File

@@ -45,7 +45,7 @@ class xep_0078(base.base_plugin):
logging.debug("Starting jabber:iq:auth Authentication")
auth_request = self.xmpp.makeIqGet()
auth_request_query = ET.Element('{jabber:iq:auth}query')
auth_request.attrib['to'] = self.xmpp.server
auth_request.attrib['to'] = self.xmpp.domain
username = ET.Element('username')
username.text = self.xmpp.username
auth_request_query.append(username)