Merge branch 'z-offline2' of github.com:xwiki-labs/cryptpad into z-offline2

pull/1/head
yflory 4 years ago
commit 1fdacd8657

@ -769,7 +769,6 @@ define([
}, function () {}); }, function () {});
}; };
Messages.access_offline = "You're currently offline. Access management is not available"; // XXX
var getAccessTab = function (Env, data, opts, _cb) { var getAccessTab = function (Env, data, opts, _cb) {
var cb = Util.once(Util.mkAsync(_cb)); var cb = Util.once(Util.mkAsync(_cb));
var common = Env.common; var common = Env.common;

@ -273,7 +273,6 @@ define([
var hasFriends = opts.hasFriends; var hasFriends = opts.hasFriends;
var onFriendShare = Util.mkEvent(); var onFriendShare = Util.mkEvent();
Messages.share_noContactsOffline = "OFFLINE"; // XXX
var metadataMgr = common.getMetadataMgr(); var metadataMgr = common.getMetadataMgr();
var priv = metadataMgr.getPrivateData(); var priv = metadataMgr.getPrivateData();
if (priv.offline) { if (priv.offline) {

Loading…
Cancel
Save