From 83e83055540f9d6cdda1b4e4ee7fdd0057d885cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 22 Aug 2019 23:57:12 +0200 Subject: omemo: use @to instead of @from for message recipients MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/omemo_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py index e9f2e1b8..6ef104ba 100644 --- a/plugins/omemo_plugin.py +++ b/plugins/omemo_plugin.py @@ -108,7 +108,7 @@ class Plugin(E2EEPlugin): message['body'] = body async def encrypt(self, message: Message, _tab) -> None: - mto = message['from'] + mto = message['to'] mtype = message['type'] body = message['body'] -- cgit v1.2.3