From 6a1901c0ac0e992526e2085fe30356624db1ebe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 12 Feb 2019 11:59:53 +0100 Subject: [PATCH] server: Fix encryption queue emptying. --- matrix/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/server.py b/matrix/server.py index aafa323..e6fab0c 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -1391,7 +1391,7 @@ class MatrixServer(object): if not self.room_send_message(room_buffer, message.formatted_message, message.message_type): - self.encryption_queue.pop() + self.encryption_queue[room_id].pop() self.encryption_queue[room_id].appendleft(message) break except OlmTrustError: