1
0
Fork 1
mirror of https://example.com synced 2024-11-24 07:26:39 +09:00

Resolve #5454 (#5458)

This commit is contained in:
Satsuki Yanagi 2019-09-26 04:15:34 +09:00 committed by syuilo
parent 4e8047275b
commit 11ddbdc58d

View file

@ -65,7 +65,7 @@ export default define(meta, async (ps, me) => {
});
// Pull the user
await UserListJoinings.delete({ userId: user.id });
await UserListJoinings.delete({ userListId: userList.id, userId: user.id });
publishUserListStream(userList.id, 'userRemoved', await Users.pack(user));
});