[Fix] hot fix for a breaks tooting bug.

This commit is contained in:
Mark Washeim 2023-01-19 17:49:41 +01:00
parent fd9303de4d
commit 123a3b617c

View file

@ -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"]
}