feat: Delayed Events

This commit is contained in:
Jacob Taylor committed 2026-12-02 11:31:36 -08:00
1 parent cca59bdd16
commit af5b436021
21 files changed
+969 -67

No files matched your search

+7 -6
View File
@@ -559,15 +559,16 @@ pub(crate) async fn create_room_route(
match services
.rooms
.timeline
.send_state_event_for_key(
.send_timeline_event(
PartialPdu {
event_type: event_type.to_string().into(),
content: content.into_json(),
state_key: Some(state_key.into()),
..Default::default()
},
sender_user,
&room_id,
&state_lock,
&event_type,
&content,
&state_key,
None,
None,
)
.boxed()
.await