Web: Socket: Fixed adding a file to the same folder when moving/copying a file (when overwriting a file with the same name).

This commit is contained in:
Tatiana Lopaeva 2022-02-01 15:29:24 +03:00
parent 4bca2a87d2
commit bf01ee98d9

View File

@ -568,7 +568,7 @@ namespace ASC.Web.Files.Services.WCFService.FileOperations
needToMark.Add(newFile);
var roomNew = documentServiceHelper.GetSocketFolderRoom(newFile.RootFolderId);
var roomNew = documentServiceHelper.GetSocketFolderRoom(toFolderId);
socketManager.CreateFile(newFile.ID, roomNew, newFile);
if (copy)