mirror of https://github.com/xwiki-labs/cryptpad
Fix locked spreadsheets for guest users on checkpoint required
This commit is contained in:
parent
949a304989
commit
91d781be14
|
@ -2993,7 +2993,7 @@ Uncaught TypeError: Cannot read property 'calculatedType' of null
|
|||
var m = metadataMgr.getChannelMembers().filter(function (str) {
|
||||
return str.length === 32;
|
||||
}).length;
|
||||
if ((m - v) === 1 && !readOnly) {
|
||||
if ((m - v) === 1 && !readOnly && common.isLoggedIn()) {
|
||||
var needCp = ooChannel.queue.length > CHECKPOINT_INTERVAL;
|
||||
APP.initCheckpoint = needCp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue