You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems the spec has evolved since Room#aliases was implemented.
m.room.aliases is deprecated and I have a room which an uptodate m.room.canonical_alias as well as an old m.room.aliases state event which contains outdated aliases.
Upon initical sync, matrix-ruby-sdk uses the m.room.canonical_aliases state, but after one hour the cache is discarded and ruby-matrix-sdk then instead uses m.room.aliases in Room#aliases and Protocols::CS#get_room_aliases.
There are now two different sources to get aliases from:
m.room.canonical_aliases has a curated subset of all aliases for a room
It seems the spec has evolved since
Room#aliases
was implemented.m.room.aliases is deprecated and I have a room which an uptodate m.room.canonical_alias as well as an old m.room.aliases state event which contains outdated aliases.
Upon initical sync, matrix-ruby-sdk uses the m.room.canonical_aliases state, but after one hour the cache is discarded and ruby-matrix-sdk then instead uses m.room.aliases in
Room#aliases
andProtocols::CS#get_room_aliases
.There are now two different sources to get aliases from:
In my opinion, any handling of m.room.aliases should be removed from ruby-matrix-sdk.
The text was updated successfully, but these errors were encountered: