Fix Bug 65234 - Rooms. Fixed default rights for invite users link

This commit is contained in:
Nikita Gopienko 2023-12-07 14:59:18 +03:00
parent 51d7834882
commit 5960a6dcc3

View File

@ -63,7 +63,7 @@ const ExternalLinks = ({
const editLink = async () => {
const type =
roomType === RoomsType.PublicRoom
? ShareAccessRights.RoomManager
? ShareAccessRights.Collaborator
: ShareAccessRights.ReadOnly;
const link = await setInvitationLinks(roomId, "Invite", type);