xep_0384: document encode_public_key fn
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
41919a7a5e
commit
8117248bc7
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ except ImportError as e:
|
|||
TRUE_VALUES = {True, 'true', '1'}
|
||||
|
||||
|
||||
# TODO: Upstream bug has been fixed. https://github.com/Syndace/python-omemo/issues/7
|
||||
# Use the API provided by the lib.
|
||||
def encode_public_key(key: bytes) -> bytes:
|
||||
return b'\x05' + key
|
||||
|
||||
|
|
Loading…
Reference in a new issue