From 123a3b617cc4ebf03b26fc9e3608cb68425fc7cf Mon Sep 17 00:00:00 2001 From: Mark Washeim Date: Thu, 19 Jan 2023 17:49:41 +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"] }