Fix federated leaves dropping the reason #789

Merged
Jade merged 1 commit from nex/fix-768 into main 2025-04-23 21:46:43 +00:00
Owner

Fixes #768

this small change fixes the issue where leaving a room over federation drops the client-included reason, bringing behavior in line of that of synapse and other implementations.

Fixes #768 this small change fixes the issue where leaving a room over federation drops the client-included reason, bringing behavior in line of that of synapse and other implementations.
Inject reason into federated leave request membership
Some checks failed
Release Docker Image / define-variables (pull_request) Successful in 1s
Release Docker Image / build-image (linux/arm64, linux-arm64) (pull_request) Successful in 20m35s
Release Docker Image / build-image (linux/amd64, linux-amd64) (pull_request) Successful in 58m53s
Release Docker Image / merge (pull_request) Successful in 31s
Documentation / Build and Deploy Documentation (pull_request) Successful in 23s
Release Docker Image / define-variables (push) Successful in 3s
Release Docker Image / build-image (linux/amd64, linux-amd64) (push) Failing after 17m27s
Release Docker Image / build-image (linux/arm64, linux-arm64) (push) Failing after 17m47s
Release Docker Image / merge (push) Has been skipped
b8bfd1c3fa
requested review from Owners 2025-04-23 00:54:12 +00:00
Jade approved these changes 2025-04-23 01:27:35 +00:00
Jade left a comment
Owner

Looks good! I was a bit surprised that there's no typing on the leave event, but I guess it is more flexible for other servers.

Looks good! I was a bit surprised that there's no typing on the leave event, but I guess it is more flexible for other servers.
Author
Owner

The v1 leave is documented in the spec as being a bit flimsy, v2 is meant to be more "consistent", but that's out of scope for this PR

The v1 leave is documented in the spec as being a bit flimsy, v2 is meant to be more "consistent", but that's out of scope for this PR
Jade force-pushed nex/fix-768 from b8bfd1c3fa to 41cf118a24 2025-04-23 21:46:33 +00:00 Compare
Jade merged commit 41cf118a24 into main 2025-04-23 21:46:43 +00:00
nex added this to the 0.5.0 milestone 2025-06-28 20:55:25 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#789
No description provided.