mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
When upgrading rooms, we reassign any local aliases from the old room to the new room. This commit updates the m.room.canonical_alias events in the old and new rooms to reflect which aliases were moved. The spec is unclear on whether the server should do this[1], but it's consistent with synapse's behavior. I went with putting the canonical alias update logic inline, rather than something like add_canonical_alias and remove_canonical_alias helper functions to the alias service, because it's desirable to have the alias updates be sent as a single event than a separate event for each change. [1]: https://github.com/matrix-org/matrix-spec/issues/2142 |
||
|---|---|---|
| bin | ||
| book | ||
| nix | ||
| src | ||
| tests/integrations | ||
| .envrc | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .lycheeignore | ||
| .mailmap | ||
| .markdownlintignore | ||
| book.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| clippy.toml | ||
| default.nix | ||
| engage.toml | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE.md | ||
| README.md | ||
| rust-toolchain.toml | ||
| rustfmt.toml | ||