From 341dda37ebae03f50cdea1eee3721202d71b7ef3 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Mon, 10 Jan 2022 15:17:51 +0100 Subject: [PATCH] New Chat: Fix missing users --- src/components/left/newChat/NewChatStep1.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/left/newChat/NewChatStep1.tsx b/src/components/left/newChat/NewChatStep1.tsx index 8201e79e6..a827bf7bc 100644 --- a/src/components/left/newChat/NewChatStep1.tsx +++ b/src/components/left/newChat/NewChatStep1.tsx @@ -86,7 +86,7 @@ const NewChatStep1: FC = ({ return true; } - return user.canBeInvitedToGroup && !user.isSelf && !isUserBot(user); + return !user.isSelf && (user.canBeInvitedToGroup || !isUserBot(user)); }), chatsById, false,