New Chat: Fix missing users

This commit is contained in:
Alexander Zinchuk 2022-01-10 15:17:51 +01:00
parent 0b40f27ed9
commit 341dda37eb

View File

@ -86,7 +86,7 @@ const NewChatStep1: FC<OwnProps & StateProps> = ({
return true;
}
return user.canBeInvitedToGroup && !user.isSelf && !isUserBot(user);
return !user.isSelf && (user.canBeInvitedToGroup || !isUserBot(user));
}),
chatsById,
false,