diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index 286ed64..5a9f553 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -351,7 +351,7 @@ class XEP_0384(BasePlugin): bundle = self._omemo().public_bundle.serialize(self.omemo_backend) jid = self.xmpp.boundjid - disco = await self.xmpp['xep_0030'].get_info(jid.bare) + disco = await self.xmpp['xep_0030'].get_info(jid=jid.bare, local=False) publish_options = PUBLISH_OPTIONS_NODE in disco['disco_info'].get_features() iq = self.xmpp.Iq(stype='set') @@ -482,7 +482,7 @@ class XEP_0384(BasePlugin): payload['devices'] = devices jid = self.xmpp.boundjid - disco = await self.xmpp['xep_0030'].get_info(jid.bare) + disco = await self.xmpp['xep_0030'].get_info(jid=jid.bare, local=False) publish_options = PUBLISH_OPTIONS_NODE in disco['disco_info'].get_features() options = None