mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix cursor error logs when not synced yet
This commit is contained in:
parent
a09d25a35a
commit
bb2299376f
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user