-
Notifications
You must be signed in to change notification settings - Fork 405
Open
Labels
Description
Alternatively, we could add canonical_alias
as a separate field.
This is breaking the names of rooms without a Apparently the rust SDK doesn't use m.room.name
in EX.name
field.
c.f.
synapse/synapse/handlers/sliding_sync/__init__.py
Lines 1013 to 1019 in f6c2b0e
room_name: Optional[str] = None | |
# TODO: Should we also check for `EventTypes.CanonicalAlias` | |
# (`m.room.canonical_alias`) as a fallback for the room name? see | |
# https://github.com/matrix-org/matrix-spec-proposals/pull/3575#discussion_r1671260153 | |
name_event = room_state.get((EventTypes.Name, "")) | |
if name_event is not None: | |
room_name = name_event.content.get("name") |