omemo: use @to instead of @from for message recipients

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-08-22 23:57:12 +02:00
parent ec846f222e
commit 83e8305554

View file

@ -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']