core (memory): updateEntityData now accept a "silent" argument to avoid sending signal to frontends when updating an attribute with "signalOnUpdate" flag.
This commit is contained in:
parent
ec25ba82e1
commit
cdfb2c4dc6
1 changed files with 17 additions and 20 deletions
|
|
@ -286,7 +286,7 @@ class FakeMemory(Memory):
|
|||
def delWaitingSub(self, contact_jid, profile_key):
|
||||
pass
|
||||
|
||||
def updateEntityData(self, entity_jid, key, value, profile_key):
|
||||
def updateEntityData(self, entity_jid, key, value, silent=False, profile_key="@NONE@"):
|
||||
self.entities_data.setdefault(entity_jid, {})
|
||||
self.entities_data[entity_jid][key] = value
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue