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,
|
SyncResponse,
|
||||||
PartialSyncResponse,
|
PartialSyncResponse,
|
||||||
ShareGroupSessionResponse,
|
ShareGroupSessionResponse,
|
||||||
|
KeysQueryResponse,
|
||||||
KeysClaimResponse,
|
KeysClaimResponse,
|
||||||
TransportResponse,
|
TransportResponse,
|
||||||
TransportType,
|
TransportType,
|
||||||
|
@ -898,6 +899,9 @@ class MatrixServer(object):
|
||||||
elif isinstance(response, RoomMessagesResponse):
|
elif isinstance(response, RoomMessagesResponse):
|
||||||
self.handle_backlog_response(response)
|
self.handle_backlog_response(response)
|
||||||
|
|
||||||
|
elif isinstance(response, KeysQueryResponse):
|
||||||
|
self.keys_queried = False
|
||||||
|
|
||||||
elif isinstance(response, KeysClaimResponse):
|
elif isinstance(response, KeysClaimResponse):
|
||||||
self.keys_claimed[response.room_id] = False
|
self.keys_claimed[response.room_id] = False
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue