mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-01-08 14:18:08 -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
|
||||
except KeyError:
|
||||
logger.info("Unknown room {} skipping...".format(room_id))
|
||||
continue
|
||||
# We don't know if the room is encrypted or not, probably
|
||||
# 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"]:
|
||||
if "type" not in event:
|
||||
|
Loading…
Reference in New Issue
Block a user