Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Olivia Lee a34bca3986
transfer local canonical aliases to new room on upgrade
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
2025-05-18 14:13:41 -07:00
bin expose static binaries in gitlab artifacts again 2024-12-11 14:37:43 -08:00
book transfer local canonical aliases to new room on upgrade 2025-05-18 14:13:41 -07:00
nix set default database backend in nixos module to rocksdb 2025-04-06 20:06:40 -07:00
src transfer local canonical aliases to new room on upgrade 2025-05-18 14:13:41 -07:00
tests/integrations reject overlapping media and database paths 2025-03-20 11:33:59 -07:00
.envrc optionally use nom to build devshell dependencies 2024-05-30 21:19:09 -07:00
.gitignore expose static binaries in gitlab artifacts again 2024-12-11 14:37:43 -08:00
.gitlab-ci.yml expose static binaries in gitlab artifacts again 2024-12-11 14:37:43 -08:00
.lycheeignore set up mdbook 2024-06-16 20:23:18 -07:00
.mailmap update name and email in mailmap 2024-11-16 21:15:16 -08:00
.markdownlintignore set up mdbook 2024-06-16 20:23:18 -07:00
book.toml add flake output for the website root 2024-11-22 11:21:39 -08:00
Cargo.lock use trust-dns for all DNS queries 2025-04-14 15:56:33 -07:00
Cargo.toml use trust-dns for all DNS queries 2025-04-14 15:56:33 -07:00
clippy.toml enable doc_markdown lint 2024-05-14 16:34:10 -07:00
default.nix feat: support non-flake users 2024-02-01 19:19:56 -08:00
engage.toml don't markdownlint ignored files 2025-01-23 13:04:59 -08:00
flake.lock update rocksdb 2025-03-27 16:30:52 -07:00
flake.nix update rocksdb 2025-03-27 16:30:52 -07:00
LICENSE.md convert license to markdown 2024-04-30 21:54:56 -07:00
README.md update docs link in the readme 2024-12-06 11:37:17 -08:00
rust-toolchain.toml Fix native compilation on aarch64 2025-03-02 01:20:51 -08:00
rustfmt.toml enable error_on_line_overflow and fix errors 2024-05-16 19:11:40 -07:00

Grapevine

A Matrix homeserver.

Read the book

Click here to read the latest version.