xep_0384: pass the correct omemo backend to _parse_bundle

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-02-23 13:41:56 +00:00
parent f3d9143bf6
commit 52e49e9422
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -252,7 +252,7 @@ class XEP_0384(BasePlugin):
return None
bundle = iq['pubsub']['items']['item']['bundle']
return _parse_bundle(self._omemo, bundle)
return _parse_bundle(self.omemo_backend, bundle)
async def _fetch_device_list(self, jid: JID) -> None:
"""Manually query PEP OMEMO_DEVICES_NS nodes"""