mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Add missing init fields
This commit is contained in:
@@ -1824,6 +1824,7 @@ pub async fn leave_room(
|
|||||||
displayname: None,
|
displayname: None,
|
||||||
third_party_invite: None,
|
third_party_invite: None,
|
||||||
blurhash: None,
|
blurhash: None,
|
||||||
|
redact_events: None,
|
||||||
};
|
};
|
||||||
|
|
||||||
let is_banned = services.rooms.metadata.is_banned(room_id);
|
let is_banned = services.rooms.metadata.is_banned(room_id);
|
||||||
|
|||||||
@@ -343,6 +343,7 @@ pub async fn update_displayname(
|
|||||||
reason: None,
|
reason: None,
|
||||||
is_direct: None,
|
is_direct: None,
|
||||||
third_party_invite: None,
|
third_party_invite: None,
|
||||||
|
redact_events: None,
|
||||||
});
|
});
|
||||||
|
|
||||||
Ok((pdu, room_id))
|
Ok((pdu, room_id))
|
||||||
@@ -396,6 +397,7 @@ pub async fn update_avatar_url(
|
|||||||
reason: None,
|
reason: None,
|
||||||
is_direct: None,
|
is_direct: None,
|
||||||
third_party_invite: None,
|
third_party_invite: None,
|
||||||
|
redact_events: None,
|
||||||
});
|
});
|
||||||
|
|
||||||
Ok((pdu, room_id))
|
Ok((pdu, room_id))
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ pub(crate) async fn upgrade_room_route(
|
|||||||
blurhash: services.users.blurhash(sender_user).await.ok(),
|
blurhash: services.users.blurhash(sender_user).await.ok(),
|
||||||
reason: None,
|
reason: None,
|
||||||
join_authorized_via_users_server: None,
|
join_authorized_via_users_server: None,
|
||||||
|
redact_events: None,
|
||||||
})
|
})
|
||||||
.expect("event is valid, we just created it"),
|
.expect("event is valid, we just created it"),
|
||||||
unsigned: None,
|
unsigned: None,
|
||||||
|
|||||||
Reference in New Issue
Block a user