Rebox future segmentations.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-07-24 04:07:27 +00:00
1 parent aac49b09c7
commit 18f8d6c65c
14 files changed
+43 -32

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
use std::collections::BTreeMap;
use futures::FutureExt;
use ruma::{
RoomId, UserId,
events::{
@@ -239,6 +240,7 @@ pub async fn revoke_admin(&self, user_id: &UserId) -> Result {
&room_id,
&state_lock,
)
.boxed()
.await
.map(|_| ())
}
+2
View File
@@ -321,6 +321,7 @@ impl Service {
.await
{
self.handle_response_error(e, room_id, user_id, &state_lock)
.boxed()
.await
.unwrap_or_else(default_log);
}
@@ -344,6 +345,7 @@ impl Service {
self.services
.timeline
.build_and_append_pdu(PduBuilder::timeline(&content), user_id, room_id, state_lock)
.boxed()
.await?;
Ok(())