From de1ecb730acc83aab58c245c72f17978141a0ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 17 Feb 2019 19:15:18 +0000 Subject: [PATCH] Pass the correct variable to public_bundle.serialize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- slixmpp_omemo/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index 4be4f35..e210a8c 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -206,7 +206,7 @@ class XEP_0384(BasePlugin): return self._device_id def _generate_bundle_iq(self) -> Iq: - bundle = self._omemo.public_bundle.serialize(self._omemo) + bundle = self._omemo.public_bundle.serialize(self.omemo_backend) iq = self.xmpp.Iq(stype='set') publish = iq['pubsub']['publish']