Show
Ignore:
Timestamp:
05/01/06 20:29:12 (3 years ago)
Author:
asterix
Message:

be sure that transport is really removed before we start to remove its contacts.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/connection.py

    r6253 r6261  
    745745                iq = common.xmpp.Iq('set', common.xmpp.NS_REGISTER, to = agent) 
    746746                iq.getTag('query').setTag('remove') 
     747                id = self.connection.getAnID() 
     748                iq.setID(id) 
     749                self.awaiting_answers[id] = (AGENT_REMOVED, agent) 
    747750                self.connection.send(iq) 
    748751                self.connection.getRoster().delItem(agent)