From a09aa4d4fcf0106e843ceb3edc62c6b821077fd4 Mon Sep 17 00:00:00 2001 From: user202729 <25191436+user202729@users.noreply.github.com> Date: Sat, 7 Nov 2020 22:00:20 +0700 Subject: [PATCH] Set backlog_pending to false on error --- matrix/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matrix/server.py b/matrix/server.py index 9fce1c2..d1becdb 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -1618,6 +1618,8 @@ class MatrixServer(object): if isinstance(response, ErrorResponse): self.handle_error_response(response) + room_buffer = self.room_buffers[response.room_id] + room_buffer.backlog_pending = False elif isinstance(response, ToDeviceResponse): try: