diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index f5246cd24..b7df025a2 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -66,7 +66,10 @@ define([ }; var whenRealtimeSyncs = common.whenRealtimeSyncs = function (realtime, cb) { - realtime.sync(); + // FIXME realtime.onSettle should handle this but it doesn't seem to + if (realtime.getAuthDoc() === realtime.getUserDoc()) { + return void cb(); + } realtime.onSettle(cb); };