From 8117248bc7e72a5dfecaacfb09c64e346cd74b3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 19 Nov 2018 21:45:50 +0100 Subject: [PATCH] xep_0384: document encode_public_key fn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.py b/plugin.py index ec9b2d0..510dfcb 100644 --- a/plugin.py +++ b/plugin.py @@ -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