core: presence status + last resource refactored and kept in entitiesCache in memory.py, profile cache is purged on disconnection

This commit is contained in:
Goffi 2012-08-15 15:50:46 +02:00
commit 8f622601c6

View file

@ -66,7 +66,7 @@ class FakeMemory(object):
def addContact(self, contact_jid, attributes, groups, profile_key='@DEFAULT@'):
pass
def addPresenceStatus(self, contact_jid, show, priority, statuses, profile_key='@DEFAULT@'):
def setPresenceStatus(self, contact_jid, show, priority, statuses, profile_key='@DEFAULT@'):
pass
def addWaitingSub(self, type, contact_jid, profile_key):