From 68e64392f0a987c1dd2f50ba95817b222e5fe075 Mon Sep 17 00:00:00 2001 From: Matthias Ahouansou Date: Wed, 3 Apr 2024 18:45:45 -0400 Subject: [PATCH] fix(membership): remove join_authorized_via_users_server field on state update Signed-off-by: strawberry --- src/api/client_server/membership.rs | 2 ++ src/api/client_server/profile.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/api/client_server/membership.rs b/src/api/client_server/membership.rs index 079887b4..9e30d0e9 100644 --- a/src/api/client_server/membership.rs +++ b/src/api/client_server/membership.rs @@ -310,6 +310,7 @@ pub async fn ban_user_route(body: Ruma) -> Result) -> Result) -> Re event_type: TimelineEventType::RoomMember, content: to_raw_value(&RoomMemberEventContent { avatar_url: body.avatar_url.clone(), + join_authorized_via_users_server: None, ..serde_json::from_str( services() .rooms