core: presence status + last resource refactored and kept in entitiesCache in memory.py, profile cache is purged on disconnection
This commit is contained in:
parent
d229d7feae
commit
8f622601c6
1 changed files with 63 additions and 45 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue