Client: Added permission to add paid users existing on the portal to the room.

This commit is contained in:
Tatiana Lopaeva 2024-08-15 22:01:35 +03:00
parent b55dbdbb83
commit 38186dd1d6

View File

@ -346,7 +346,7 @@ const InviteInput = ({
});
}
if (isPaidUserLimit && isPaidUserRole(u.access)) {
if (isPaidUserLimit && !u.avatar && isPaidUserRole(u.access)) {
const freeRole = getTopFreeRole(t, roomType)?.access;
if (freeRole) {