server: Mark that we have sent out a key share request after a KeyClaimResponse.

This commit is contained in:
Damir Jelić 2019-02-12 11:59:19 +01:00
parent 71ffee9036
commit e4a2e2df88

View file

@ -1366,6 +1366,7 @@ class MatrixServer(object):
elif isinstance(response, KeysClaimResponse): elif isinstance(response, KeysClaimResponse):
self.keys_claimed[response.room_id] = False self.keys_claimed[response.room_id] = False
try: try:
self.group_session_shared[response.room_id] = True
_, request = self.client.share_group_session( _, request = self.client.share_group_session(
response.room_id, response.room_id,
ignore_missing_sessions=True ignore_missing_sessions=True