From 6be0d7e1cf38d7b5ecd7efa2511f2e654c8a079e Mon Sep 17 00:00:00 2001 From: molan-git <59296158+molan-git@users.noreply.github.com> Date: Thu, 19 Jan 2023 18:26:57 +0100 Subject: [PATCH] [Fix] hot fix for a breaks tooting bug --- qml/lib/Worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/lib/Worker.js b/qml/lib/Worker.js index 12a225b..57eaab4 100644 --- a/qml/lib/Worker.js +++ b/qml/lib/Worker.js @@ -14,7 +14,7 @@ WorkerScript.onMessage = function(msg) { // this is not elegant. it's max_id and ids from MyList // we should always get max_id on append - if (msg.mode === "append") { + if (msg.mode === "append" && msg.params[0]) { if ( msg.params[0]["name"] === "max_id" ) { max_id = msg.params[0]["data"] }