fix: Add missing init fields

This commit is contained in:
nexy7574 2025-06-29 13:29:27 +01:00
parent d63c8b9fca
commit 4b5e8df95c
No known key found for this signature in database
GPG key ID: 0FA334385D0B689F
3 changed files with 4 additions and 0 deletions

View file

@ -1824,6 +1824,7 @@ pub async fn leave_room(
displayname: None,
third_party_invite: None,
blurhash: None,
redact_events: None,
};
let is_banned = services.rooms.metadata.is_banned(room_id);

View file

@ -343,6 +343,7 @@ pub async fn update_displayname(
reason: None,
is_direct: None,
third_party_invite: None,
redact_events: None,
});
Ok((pdu, room_id))
@ -396,6 +397,7 @@ pub async fn update_avatar_url(
reason: None,
is_direct: None,
third_party_invite: None,
redact_events: None,
});
Ok((pdu, room_id))

View file

@ -189,6 +189,7 @@ pub(crate) async fn upgrade_room_route(
blurhash: services.users.blurhash(sender_user).await.ok(),
reason: None,
join_authorized_via_users_server: None,
redact_events: None,
})
.expect("event is valid, we just created it"),
unsigned: None,