diff --git a/src/components/right/ChatExtra.tsx b/src/components/right/ChatExtra.tsx index 7cfe440b6..4101bd5db 100644 --- a/src/components/right/ChatExtra.tsx +++ b/src/components/right/ChatExtra.tsx @@ -139,7 +139,7 @@ export default memo(withGlobal( const user = isChatPrivate(chatOrUserId) ? selectUser(global, chatOrUserId) : undefined; const isMuted = chat && selectIsChatMuted(chat, selectNotifySettings(global), selectNotifyExceptions(global)); - const canInviteUsers = chat && ( + const canInviteUsers = chat && !user && ( (!isChatChannel(chat) && !isUserRightBanned(chat, 'inviteUsers')) || getHasAdminRight(chat, 'inviteUsers') );