Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m.room.aliases is deprecated since MSC2432 #24

Closed
johannes-krude opened this issue Jan 14, 2022 · 0 comments
Closed

m.room.aliases is deprecated since MSC2432 #24

johannes-krude opened this issue Jan 14, 2022 · 0 comments

Comments

@johannes-krude
Copy link
Contributor

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:

In my opinion, any handling of m.room.aliases should be removed from ruby-matrix-sdk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant