server: Fix encryption queue emptying.
This commit is contained in:
parent
e4a2e2df88
commit
6a1901c0ac
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue