|
|
@ -480,7 +480,7 @@ define([
|
|
|
|
// Make sure we have not been kicked from the roster
|
|
|
|
// Make sure we have not been kicked from the roster
|
|
|
|
var state = roster.getState();
|
|
|
|
var state = roster.getState();
|
|
|
|
var me = Util.find(ctx, ['store', 'proxy', 'curvePublic']);
|
|
|
|
var me = Util.find(ctx, ['store', 'proxy', 'curvePublic']);
|
|
|
|
// XXX FIXME roster history temporarily corrupted, don't leave the team
|
|
|
|
// FIXME roster history temporarily corrupted, don't leave the team
|
|
|
|
if (!state.members || !Object.keys(state.members).length) {
|
|
|
|
if (!state.members || !Object.keys(state.members).length) {
|
|
|
|
lm.stop();
|
|
|
|
lm.stop();
|
|
|
|
roster.stop();
|
|
|
|
roster.stop();
|
|
|
@ -488,6 +488,7 @@ define([
|
|
|
|
cb({error: 'EINVAL'});
|
|
|
|
cb({error: 'EINVAL'});
|
|
|
|
waitFor.abort();
|
|
|
|
waitFor.abort();
|
|
|
|
console.error(JSON.stringify(state));
|
|
|
|
console.error(JSON.stringify(state));
|
|
|
|
|
|
|
|
Feedback.send("ROSTER_CORRUPTED");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!state.members[me]) {
|
|
|
|
if (!state.members[me]) {
|
|
|
|