hack around onSettle not doing its job
This commit is contained in:
parent
69b6f80e4b
commit
12aec60a12
@ -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);
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user