Skip to content

Commit dd6a20c

Browse files
Excluding deactivated users
1 parent 6926bef commit dd6a20c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coffeeChats/coffeeChatService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const getChannelMembers = async (
115115
const userInfo = await slackbot.client.users.info({ user: userId });
116116
return {
117117
id: userId,
118-
isBot: userInfo.user?.is_bot || false,
118+
isBot: userInfo.user?.is_bot || userInfo.user?.deleted || false,
119119
};
120120
}),
121121
);

0 commit comments

Comments
 (0)