Changeset 105

Show
Ignore:
Timestamp:
04/16/02 13:49:56 (6 years ago)
Author:
sholloway
Message:

BUG!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/RBJabber/RBJabber/iqAuthQuery.py

    r103 r105  
    4848        iqQueryBase.__init__(self, JC, callback, BidValue) 
    4949 
     50        self.JC().information.authorized = 0 
     51        self.JC().information.jid = self.JC().BuildJID(username, None, resource) 
     52         
    5053        while not self.JC()._elements: 
    5154            self.JC().Process() 
     
    5457        xmlAuthInfo = '<username>%s</username><digest>%s</digest><resource>%s</resource>' % (username, digest, resource) 
    5558 
    56         self.JC().information.authorized = 0 
    57         self.JC().information.jid = self.JC().BuildJID(username, None, resource) 
    58          
    5959        self.SendQuery('jabber:iq:auth', typeQuery='set', xmlQueryPayload=xmlAuthInfo) 
    6060        # The last match assertion says that there is a child