Set backlog_pending to false on error

This commit is contained in:
user202729 2020-11-07 22:00:20 +07:00
parent e43edbcbc9
commit a09aa4d4fc

View file

@ -1618,6 +1618,8 @@ class MatrixServer(object):
if isinstance(response, ErrorResponse): if isinstance(response, ErrorResponse):
self.handle_error_response(response) self.handle_error_response(response)
room_buffer = self.room_buffers[response.room_id]
room_buffer.backlog_pending = False
elif isinstance(response, ToDeviceResponse): elif isinstance(response, ToDeviceResponse):
try: try: