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

pull/1/head
yflory 5 years ago
commit c8f0c99ddc

@ -718,12 +718,11 @@ nThen(function (w) {
})); }));
}).nThen(function (w) { }).nThen(function (w) {
oscar.roster.checkpoint(w(function (err) { oscar.roster.checkpoint(w(function (err) {
var hash = oscar.lastRosterCheckpointHash = oscar.roster.getLastCheckpointHash(); // FIXME bob should connect to this to avoid extra messages oscar.lastRosterCheckpointHash = oscar.roster.getLastCheckpointHash(); // FIXME bob should connect to this to avoid extra messages
if (!err) { return; } if (!err) { return; }
console.error("Checkpoint by an owner failed unexpectedly"); console.error("Checkpoint by an owner failed unexpectedly");
console.error(err); console.error(err);
process.exit(1); process.exit(1);
})); }));
}).nThen(function (w) { }).nThen(function (w) {
alice.roster.remove([ alice.roster.remove([

@ -158,7 +158,7 @@ define([
}); });
onError = function (e) { onError = function (e) {
// XXX if we included the max upload sizes in /api/config // TODO if we included the max upload sizes in /api/config
// then we could check if a file is too large without going to the server... // then we could check if a file is too large without going to the server...
queue.inProgress = false; queue.inProgress = false;
queue.next(); queue.next();

Loading…
Cancel
Save