]> code.delx.au - pymsnt/commitdiff
Fixed exception with adding contacts before the session was ready.
authorjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Mon, 24 Jul 2006 13:09:50 +0000 (13:09 +0000)
committerjamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>
Mon, 24 Jul 2006 13:09:50 +0000 (13:09 +0000)
git-svn-id: http://delx.cjb.net/svn/pymsnt/trunk@203 55fbd22a-6204-0410-b2f0-b6c764c7e90a

committer: jamesbunton <jamesbunton@55fbd22a-6204-0410-b2f0-b6c764c7e90a>

src/legacy/glue.py

index 12b2df039fed0b191a18941185c4fc279690da1c..c27807919b6f7be07f775b0413b3591a97f42703 100644 (file)
@@ -405,13 +405,13 @@ class LegacyConnection(msn.MSNConnection):
        
        def loggedIn(self):
                LogEvent(INFO, self.jabberID)
-               self.session.ready = True
        
        def listSynchronized(self):
                LogEvent(INFO, self.jabberID)
                self.session.sendPresence(to=self.jabberID, fro=config.jid)
                self.legacyList.syncJabberLegacyLists()
                self.listSynced = True
+               self.session.ready = True
                #self.legacyList.flushSubscriptionBuffer()
        
        def ourStatusChanged(self, statusCode, screenName, personal):