diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index c254dce..b16d1ff 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -197,7 +197,7 @@ class XEP_0384(BasePlugin): name = 'xep_0384' 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 = { 'data_dir': None, 'storage_backend': None, @@ -609,6 +609,7 @@ class XEP_0384(BasePlugin): _device_id=device_id, ) msg.append(encrypted) + msg.enable('store') return msg async def trust(self, jid: JID, device_id: int, ik: bytes) -> None: