Add .my_device_list.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
lumi 2018-05-23 22:19:38 +01:00 committed by Maxime “pep” Buquet
parent 915e0c9c1b
commit 7f8fc9f860

View file

@ -80,6 +80,9 @@ class XEP_0384(BasePlugin):
def session_bind(self, _jid):
self.xmpp['xep_0163'].add_interest(OMEMO_DEVICES_NS)
def my_device_id(self):
return self._device_id
def _generate_bundle_iq(self):
bundle = self._omemo.get_bundle()
log.debug('FOO2 Bundle: %r', bundle.fingerprint)