Handle 403 when inspecting invited users as non-member
This commit is contained in:
parent
e094c32c62
commit
5d0aa8d7f7
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ export default class GroupStore extends EventEmitter {
|
||||||
});
|
});
|
||||||
this._notifyListeners();
|
this._notifyListeners();
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
|
// Invited users not visible to non-members
|
||||||
|
if (err.httpStatus === 403) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
console.error("Failed to get group invited member list: " + err);
|
console.error("Failed to get group invited member list: " + err);
|
||||||
this.emit('error', err);
|
this.emit('error', err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue