No need to dispose the buddies currently in the activity, as it is information that is needed through the whole life of the activity instance
This commit is contained in:
parent
694c456ed3
commit
cd6c0101af
@ -352,7 +352,6 @@ class PresenceService(gobject.GObject):
|
|||||||
self._get_buddies_error_cb(error_handler, e))
|
self._get_buddies_error_cb(error_handler, e))
|
||||||
|
|
||||||
def get_buddy(self, account_path, contact_id):
|
def get_buddy(self, account_path, contact_id):
|
||||||
logging.info('KILL_PS decide how to invalidate this cache')
|
|
||||||
if (account_path, contact_id) in self._buddy_cache:
|
if (account_path, contact_id) in self._buddy_cache:
|
||||||
return self._buddy_cache[(account_path, contact_id)]
|
return self._buddy_cache[(account_path, contact_id)]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user