From bb2299376f7e1ec0383e1b6e0f70ef5b034d114b Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 7 Jan 2021 16:21:40 +0100 Subject: [PATCH] Fix cursor error logs when not synced yet --- www/common/outer/cursor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/outer/cursor.js b/www/common/outer/cursor.js index ee03a4b14..df1e07353 100644 --- a/www/common/outer/cursor.js +++ b/www/common/outer/cursor.js @@ -21,6 +21,7 @@ define([ if (!client || !client.cursor) { return; } var chan = ctx.channels[client.channel]; if (!chan) { return; } + if (!chan.sendMsg) { return; } // Store not synced yet, we're running with the cache var data = { id: client.id, cursor: client.cursor