diff --git a/slixmpp_omemo/__init__.py b/slixmpp_omemo/__init__.py index 927dcc5..6d33e3c 100644 --- a/slixmpp_omemo/__init__.py +++ b/slixmpp_omemo/__init__.py @@ -255,6 +255,10 @@ class XEP_0384(BasePlugin): def my_device_id(self) -> int: return self._device_id + def my_fingerprint(self) -> str: + bundle = self._omemo.public_bundle.serialize(self.omemo_backend) + return fp_from_ik(bundle['ik']) + def _set_node_config( self, node: str,