Changeset 105
- Timestamp:
- 04/16/02 13:49:56 (6 years ago)
- Files:
-
- trunk/RBJabber/RBJabber/iqAuthQuery.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/RBJabber/RBJabber/iqAuthQuery.py
r103 r105 48 48 iqQueryBase.__init__(self, JC, callback, BidValue) 49 49 50 self.JC().information.authorized = 0 51 self.JC().information.jid = self.JC().BuildJID(username, None, resource) 52 50 53 while not self.JC()._elements: 51 54 self.JC().Process() … … 54 57 xmlAuthInfo = '<username>%s</username><digest>%s</digest><resource>%s</resource>' % (username, digest, resource) 55 58 56 self.JC().information.authorized = 057 self.JC().information.jid = self.JC().BuildJID(username, None, resource)58 59 59 self.SendQuery('jabber:iq:auth', typeQuery='set', xmlQueryPayload=xmlAuthInfo) 60 60 # The last match assertion says that there is a child
