Add my_fingerprint method
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
92a379a327
commit
78db04a1a8
1 changed files with 4 additions and 0 deletions
|
@ -255,6 +255,10 @@ class XEP_0384(BasePlugin):
|
||||||
def my_device_id(self) -> int:
|
def my_device_id(self) -> int:
|
||||||
return self._device_id
|
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(
|
def _set_node_config(
|
||||||
self,
|
self,
|
||||||
node: str,
|
node: str,
|
||||||
|
|
Loading…
Reference in a new issue