mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix wrong error message when loading teams
This commit is contained in:
parent
f58a4efb5c
commit
d7f675ef8e
@ -547,8 +547,8 @@ define([
|
||||
lastKnownHash: rosterData.lastKnownHash,
|
||||
onCacheReady: function (_roster) {
|
||||
if (!cache) { return; }
|
||||
console.error('Corrupted roster cache, cant load this team offline', teamData);
|
||||
if (_roster && _roster.error === "CORRUPTED") {
|
||||
console.error('Corrupted roster cache, cant load this team offline', teamData);
|
||||
if (lm && typeof(lm.stop) === "function") { lm.stop(); }
|
||||
waitFor.abort();
|
||||
cb({error: 'CACHE_CORRUPTED_ROSTER'});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user