Closed alfogrillo closed 8 months ago
Currently the rust sdk ffi layer allows send edited versions for m.room.message events. We need to edit m.poll.start (unstable) events.
m.room.message
m.poll.start
The matrix-sdk-ui crate has a method to edit a timeline event:
matrix-sdk-ui
pub async fn edit( &self, new_content: RoomMessageEventContent, edit_item: &EventTimelineItem, ) -> Result<(), UnsupportedEditItem>
But is supports just RoomMessageEventContent as new content.
RoomMessageEventContent
S?
### Other - [ ] https://github.com/matrix-org/matrix-rust-sdk/pull/2854 - [ ] https://github.com/matrix-org/matrix-rust-sdk/pull/2875
Description
Currently the rust sdk ffi layer allows send edited versions for
m.room.message
events. We need to editm.poll.start
(unstable) events.The
matrix-sdk-ui
crate has a method to edit a timeline event:But is supports just
RoomMessageEventContent
as new content.Size estimate
S?
Dependencies
Acceptance criteria
m.poll.start
(unstable) event to replace an older one.Subtasks