mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-09 14:39:34 -05:00
client: Don't skip rooms for which we don't know the encryption state.
This commit is contained in:
parent
3014038ce5
commit
e1fad6c7bd
@ -899,8 +899,10 @@ class PanClient(AsyncClient):
|
|||||||
)
|
)
|
||||||
continue
|
continue
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logger.info("Unknown room {} skipping...".format(room_id))
|
# We don't know if the room is encrypted or not, probably
|
||||||
continue
|
# because the client sync stream got to join the room before the
|
||||||
|
# pan sync stream did. Let's assume that the room is encrypted.
|
||||||
|
pass
|
||||||
|
|
||||||
for event in room_dict["timeline"]["events"]:
|
for event in room_dict["timeline"]["events"]:
|
||||||
if "type" not in event:
|
if "type" not in event:
|
||||||
|
Loading…
Reference in New Issue
Block a user