server: Mark a finished key query.
This commit is contained in:
parent
07d4743db0
commit
4bf0e4be5c
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ from nio import (
|
|||
SyncResponse,
|
||||
PartialSyncResponse,
|
||||
ShareGroupSessionResponse,
|
||||
KeysQueryResponse,
|
||||
KeysClaimResponse,
|
||||
TransportResponse,
|
||||
TransportType,
|
||||
|
@ -898,6 +899,9 @@ class MatrixServer(object):
|
|||
elif isinstance(response, RoomMessagesResponse):
|
||||
self.handle_backlog_response(response)
|
||||
|
||||
elif isinstance(response, KeysQueryResponse):
|
||||
self.keys_queried = False
|
||||
|
||||
elif isinstance(response, KeysClaimResponse):
|
||||
self.keys_claimed[response.room_id] = False
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue