mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Handle breaking change in innerRoom.edit()
This commit is contained in:
+4
-1
@@ -238,7 +238,10 @@ class RustMatrixRoom(
|
||||
withContext(roomDispatcher) {
|
||||
if (originalEventId != null) {
|
||||
runCatching {
|
||||
innerRoom.edit(messageEventContentFromParts(body, htmlBody), originalEventId.value)
|
||||
innerRoom.edit(
|
||||
newContent = messageEventContentFromParts(body, htmlBody),
|
||||
editItem = innerRoom.getEventTimelineItemByEventId(originalEventId.value),
|
||||
)
|
||||
}
|
||||
} else {
|
||||
runCatching {
|
||||
|
||||
Reference in New Issue
Block a user