Mercurial > libervia-web
comparison src/browser/libervia_main.py @ 468:830b50593597
browser_side: fixes issues from the refactoring
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 10 Jun 2014 01:15:13 +0200 |
parents | 97c72fe4a5f2 |
children | fac8e8bc9a1a |
comparison
equal
deleted
inserted
replaced
467:97c72fe4a5f2 | 468:830b50593597 |
---|---|
513 self.initialised = True # initialisation phase is finished here | 513 self.initialised = True # initialisation phase is finished here |
514 for event_data in self.init_cache: # so we have to send all the cached events | 514 for event_data in self.init_cache: # so we have to send all the cached events |
515 self._personalEventCb(*event_data) | 515 self._personalEventCb(*event_data) |
516 del self.init_cache | 516 del self.init_cache |
517 | 517 |
518 def _getProfileJidCB(self, jid): | 518 def _getProfileJidCB(self, jid_s): |
519 self.whoami = jid.JID(jid) | 519 self.whoami = jid.JID(jid_s) |
520 #we can now ask our status | 520 #we can now ask our status |
521 self.bridge.call('getPresenceStatuses', self._getPresenceStatusesCb) | 521 self.bridge.call('getPresenceStatuses', self._getPresenceStatusesCb) |
522 #the rooms where we are | 522 #the rooms where we are |
523 self.bridge.call('getRoomsJoined', self._getRoomsJoinedCb) | 523 self.bridge.call('getRoomsJoined', self._getRoomsJoinedCb) |
524 #and if there is any subscription request waiting for us | 524 #and if there is any subscription request waiting for us |