mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/statestore: fix second form of applying edits
This commit is contained in:
parent
716b43ebd1
commit
876ddaf51a
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ export class RoomStateStore {
|
|||
if (editTarget?.last_edit_rowid === memEvt.rowid && !editTarget.last_edit) {
|
||||
editTarget.last_edit = memEvt
|
||||
editTarget.orig_content = editTarget.content
|
||||
editTarget.content = memEvt.content
|
||||
editTarget.content = memEvt.content["m.new_content"]
|
||||
}
|
||||
}
|
||||
this.eventsByRowID.set(memEvt.rowid, memEvt)
|
||||
|
|
Loading…
Add table
Reference in a new issue