Skip to content

Commit 06fc220

Browse files
bnjbvrstefanceriu
authored andcommitted
ffi: use the send queue when sending an edit with Room::edit
This will make it possible to send updates to observers, update local echoes, and so on, making it closer to the edit functions from the timeline.
1 parent f399f22 commit 06fc220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/matrix-sdk-ffi/src/room.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ impl Room {
734734
.make_edit_event(&event_id, EditedContent::RoomMessage((*new_content).clone()))
735735
.await?;
736736

737-
self.inner.send(replacement_event).await?;
737+
self.inner.send_queue().send(replacement_event).await?;
738738
Ok(())
739739
}
740740
}

0 commit comments

Comments
 (0)