mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix migration issue with OnlyOffice
This commit is contained in:
parent
a41de25b87
commit
7b847fc6e4
@ -533,6 +533,7 @@ define([
|
||||
};
|
||||
var loadLastDocument = function (lastCp, onCpError, cb) {
|
||||
ooChannel.cpIndex = lastCp.index || 0;
|
||||
ooChannel.lastHash = lastCp.hash;
|
||||
var parsed = Hash.parsePadUrl(lastCp.file);
|
||||
var secret = Hash.getSecrets('file', parsed.hash);
|
||||
if (!secret || !secret.channel) { return; }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user