Pass the correct variable to public_bundle.serialize

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-02-17 19:15:18 +00:00
parent 3580b3941b
commit de1ecb730a
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -206,7 +206,7 @@ class XEP_0384(BasePlugin):
return self._device_id return self._device_id
def _generate_bundle_iq(self) -> Iq: 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') iq = self.xmpp.Iq(stype='set')
publish = iq['pubsub']['publish'] publish = iq['pubsub']['publish']