diff --git a/TODO.md b/TODO.md index 71be2357..b5ae0271 100644 --- a/TODO.md +++ b/TODO.md @@ -48,7 +48,6 @@ - invisible uploaded mxc images? - first undecryptable message -- Adding an account with no rooms - Join button 502 - Leave box button focus diff --git a/src/qml/event_handlers.js b/src/qml/event_handlers.js index 58c9029c..39a8b61c 100644 --- a/src/qml/event_handlers.js +++ b/src/qml/event_handlers.js @@ -36,7 +36,7 @@ function onCoroutineDone(uuid, result, error, traceback) { function onModelUpdated(syncId, data, serializedSyncId) { - if (serializedSyncId === ["Account"] || serializedSyncId[0] === "Room") { + if (serializedSyncId === "Account" || serializedSyncId[0] === "Room") { py.callCoro("get_flat_mainpane_data", [], data => { window.mainPaneModelSource = data })