Fix event debug returning wrong event json
This commit is contained in:
parent
03251f019e
commit
2511a03045
1
TODO.md
1
TODO.md
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
## Before release
|
## Before release
|
||||||
|
|
||||||
|
- page back buttons
|
||||||
- Add Gentoo instructions
|
- Add Gentoo instructions
|
||||||
- Finish the README.md
|
- Finish the README.md
|
||||||
- Build final AppImage and test media opening
|
- Build final AppImage and test media opening
|
||||||
|
|
|
@ -65,7 +65,7 @@ HColumnLayout {
|
||||||
|
|
||||||
function json() {
|
function json() {
|
||||||
let event = ModelStore.get(chat.userId, chat.roomId, "events")
|
let event = ModelStore.get(chat.userId, chat.roomId, "events")
|
||||||
.get(model.id)
|
.get(model.index)
|
||||||
event = JSON.parse(JSON.stringify(event))
|
event = JSON.parse(JSON.stringify(event))
|
||||||
event.source = JSON.parse(event.source)
|
event.source = JSON.parse(event.source)
|
||||||
return JSON.stringify(event, null, 4)
|
return JSON.stringify(event, null, 4)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user