Handle breaking change in innerRoom.edit()
This commit is contained in:
parent
1b7f5a9020
commit
3a49ab984c
1 changed files with 4 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue