diff --git a/products/ASC.Files/Core/Configuration/ProductEntryPoint.cs b/products/ASC.Files/Core/Configuration/ProductEntryPoint.cs index f6ebd680ba..70ad110d92 100644 --- a/products/ASC.Files/Core/Configuration/ProductEntryPoint.cs +++ b/products/ASC.Files/Core/Configuration/ProductEntryPoint.cs @@ -239,7 +239,7 @@ JsonValueKind.String when int.TryParse(additionalInfo.RoomId.GetString(), out va } } - activityInfo.RoomUri = _pathProvider.GetRoomsUrl(roomId.ToString()); + activityInfo.RoomUri = _pathProvider.GetRoomsUrl(roomId.ToString(), false); activityInfo.RoomTitle = additionalInfo.RoomTitle; activityInfo.RoomOldTitle = additionalInfo.RoomOldTitle; diff --git a/products/ASC.Files/Core/Services/NotifyService/NotifyClient.cs b/products/ASC.Files/Core/Services/NotifyService/NotifyClient.cs index c91c2573aa..6d9d50b158 100644 --- a/products/ASC.Files/Core/Services/NotifyService/NotifyClient.cs +++ b/products/ASC.Files/Core/Services/NotifyService/NotifyClient.cs @@ -207,7 +207,7 @@ public async Task SendEditorMentions(FileEntry file, string documentUrl, L return; } - var roomUrl = pathProvider.GetRoomsUrl(roomId); + var roomUrl = pathProvider.GetRoomsUrl(roomId, false); var room = await folderDao.GetFolderAsync(id); @@ -327,7 +327,7 @@ public async Task SendRoomRemovedAsync(FileEntry folder, List var recipientsProvider = notifySource.GetRecipientsProvider(); var folderId = folder.Id.ToString(); - var roomUrl = pathProvider.GetRoomsUrl(folderId); + var roomUrl = pathProvider.GetRoomsUrl(folderId, false); foreach (var ace in aces) { diff --git a/products/ASC.Files/Core/Utils/FileSharing.cs b/products/ASC.Files/Core/Utils/FileSharing.cs index 0ef2aff7bd..d27396c3fb 100644 --- a/products/ASC.Files/Core/Utils/FileSharing.cs +++ b/products/ASC.Files/Core/Utils/FileSharing.cs @@ -71,7 +71,7 @@ public async Task> SetAceObjectAsync(List var handledAces = new List>(aceWrappers.Count); var room = entry is Folder folder && DocSpaceHelper.IsRoom(folder.FolderType) ? folder : null; - var roomUrl = room != null ? pathProvider.GetRoomsUrl(room.Id.ToString()) : null; + var roomUrl = room != null ? pathProvider.GetRoomsUrl(room.Id.ToString(), false) : null; var entryType = entry.FileEntryType; var recipients = new Dictionary(); var usersWithoutRight = new List();