Files: FileSharing: added external share for custom room

This commit is contained in:
Maksim Chegulov 2023-05-15 18:07:45 +03:00
parent ff6a7b00da
commit 92895820c5

View File

@ -131,7 +131,7 @@ public class FileSharingAceHelper
continue;
}
if (room.FolderType != FolderType.PublicRoom && w.SubjectType == SubjectType.ExternalLink)
if (room.FolderType is not (FolderType.PublicRoom or FolderType.CustomRoom) && w.SubjectType == SubjectType.ExternalLink)
{
continue;
}