core (memory/sqla), plugin XEP-0359: always add origin-id, and store:
`origin-id` is now always added to messages, and it is stored to database in the new column instead of `extra` when present.
This commit is contained in:
parent
53ca566a9d
commit
bb3e7ffa9b
1 changed files with 15 additions and 3 deletions
|
|
@ -1417,9 +1417,6 @@ class OMEMO:
|
|||
MUC_CACHE_TTL, self._expireMUCCache, client)
|
||||
else:
|
||||
timer.reset(MUC_CACHE_TTL)
|
||||
# we use origin-id when possible, to identifiy the message in a stable way
|
||||
if self._sid is not None:
|
||||
self._sid.addOriginId(message_elt, mess_data['uid'])
|
||||
|
||||
encryption_data = yield defer.ensureDeferred(self.encryptMessage(
|
||||
client, to_jids, body, feedback_jid=feedback_jid))
|
||||
|
|
|
|||
Loading…
Reference in a new issue