Ensure heartbeats are stored in the archive
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
320105988a
commit
e4c9b54b85
1 changed files with 2 additions and 1 deletions
|
@ -197,7 +197,7 @@ class XEP_0384(BasePlugin):
|
||||||
|
|
||||||
name = 'xep_0384'
|
name = 'xep_0384'
|
||||||
description = 'XEP-0384 OMEMO'
|
description = 'XEP-0384 OMEMO'
|
||||||
dependencies = {'xep_0004', 'xep_0030', 'xep_0060', 'xep_0163'}
|
dependencies = {'xep_0004', 'xep_0030', 'xep_0060', 'xep_0163', 'xep_0334'}
|
||||||
default_config = {
|
default_config = {
|
||||||
'data_dir': None,
|
'data_dir': None,
|
||||||
'storage_backend': None,
|
'storage_backend': None,
|
||||||
|
@ -609,6 +609,7 @@ class XEP_0384(BasePlugin):
|
||||||
_device_id=device_id,
|
_device_id=device_id,
|
||||||
)
|
)
|
||||||
msg.append(encrypted)
|
msg.append(encrypted)
|
||||||
|
msg.enable('store')
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
async def trust(self, jid: JID, device_id: int, ik: bytes) -> None:
|
async def trust(self, jid: JID, device_id: int, ik: bytes) -> None:
|
||||||
|
|
Loading…
Reference in a new issue