Grapevine is a Matrix homeserver, forked from Conduit 0.7.0
Find a file
Andreas Fuchs e001356653
Return local join error if all remote joins fail
If all join requests to resident servers fail or if the joining server
is the only resident server (i.e. the room is local-only), we would
previously send a 500 error, even if the more correct response would be
M_UNAUTHORIZED (e.g. if the user tries to join an invite-only room).

To fix this, we now return the error generated by attempting the join
locally, which correctly informs the client about why their request
failed.
2024-10-13 19:10:58 -07:00
bin use all-features devshell for clippy/all in CI 2024-05-30 21:19:08 -07:00
book Return local join error if all remote joins fail 2024-10-13 19:10:58 -07:00
nix set up structure for multiple cli commands 2024-09-21 14:11:26 -07:00
src Return local join error if all remote joins fail 2024-10-13 19:10:58 -07:00
.envrc optionally use nom to build devshell dependencies 2024-05-30 21:19:09 -07:00
.gitignore set up mdbook 2024-06-16 20:23:18 -07:00
.gitlab-ci.yml disable IFD in CI 2024-08-13 12:12:57 -07:00
.lycheeignore set up mdbook 2024-06-16 20:23:18 -07:00
.markdownlintignore set up mdbook 2024-06-16 20:23:18 -07:00
book.toml oops, i dropped my fork 2024-09-20 16:52:05 -07:00
Cargo.lock fix serving tls by setting rustls default crypto provider 2024-09-23 23:39:23 -07:00
Cargo.toml Reload TLS config on SIGHUP 2024-09-27 09:51:17 -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 set up mdbook 2024-06-16 20:23:18 -07:00
flake.lock Update MSRV to 1.81.0 2024-09-08 09:54:08 -07:00
flake.nix Update MSRV to 1.81.0 2024-09-08 09:54:08 -07:00
LICENSE.md convert license to markdown 2024-04-30 21:54:56 -07:00
README.md oops, i dropped my fork 2024-09-20 16:52:05 -07:00
rust-toolchain.toml Update MSRV to 1.81.0 2024-09-08 09:54:08 -07: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.