check for membership when leaving public guild, fix memberCount update when leaving group, add missing files

This commit is contained in:
Matteo Pagliazzi
2016-02-28 01:11:45 +01:00
parent 733da70b48
commit 5e68589ac8
6 changed files with 62 additions and 14 deletions

View File

@@ -83,7 +83,7 @@ export async function createAndPopulateGroup (settings = {}) {
})
);
group.update({ memberCount: numberOfMembers + 1});
await group.update({ memberCount: numberOfMembers + 1});
let invitees = await Q.all(
times(numberOfInvites, () => {