Fix deletion of local leave state to allow sync for clients.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-09-11 06:20:41 +00:00
1 parent 11eeca7e01
commit d73b4332bf
9 files changed
+34 -46

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ pub(crate) async fn leave_room_route(
services
.membership
.leave(body.sender_user(), &body.room_id, body.reason.clone(), &state_lock)
.leave(body.sender_user(), &body.room_id, body.reason.clone(), false, &state_lock)
.boxed()
.await?;