Fix bug when requeueing messages for encryption.

This probably fixes #79.
This commit is contained in:
Rex Roni 2019-11-03 16:56:39 -07:00
parent 4a3f5217bc
commit 368f5cfc3b

View file

@ -1724,7 +1724,7 @@ class MatrixServer(object):
if not ret:
self.encryption_queue[room_id].pop()
self.encryption_queue[room_id].appendleft(message)
self.encryption_queue[room_id].appendleft(item)
break
except OlmTrustError: