summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-02-03 13:40:12 +0200
committerTor Lillqvist <tml@iki.fi>2021-02-03 14:27:27 +0200
commitd11bea88f862eddb1e9ecf65dbaf0fd23fa89881 (patch)
tree765aa217a1b8288c6849afb27f3bf2af3d25b0a1
parentBump package version to 6.4.5-1 (diff)
downloadonline-d11bea88f862eddb1e9ecf65dbaf0fd23fa89881.tar.gz
online-d11bea88f862eddb1e9ecf65dbaf0fd23fa89881.zip
Also save cellviewcursor: messages for handling when we are ready
Without this, when joining an editing session of a spreadsheet, you don't see the cell cursors of another participant until they move the cell cursor. Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: I87b8ad584d57bce52b39706fa9f0bbf56a59082a
-rw-r--r--loleaflet/src/core/Socket.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index fd9d430137..35256160c3 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -921,6 +921,7 @@ L.Socket = L.Class.extend({
var delayed = false;
if (textMsg.startsWith('window:') ||
textMsg.startsWith('celladdress:') ||
+ textMsg.startsWith('cellviewcursor:') ||
textMsg.startsWith('statechanged:') ||
textMsg.startsWith('invalidatecursor:') ||
textMsg.startsWith('viewinfo:')) {