This commit is contained in:
2026-07-09 16:40:00 +03:00
parent 8fce57800f
commit 33da3cba1a
3 changed files with 75 additions and 166 deletions
+1 -2
View File
@@ -251,8 +251,7 @@ export class EwsClient {
} = options;
const isDistinguished =
DISTINGUISHED_FOLDERS[folderId.toLowerCase()] !== undefined
|| ["msgfolderroot"].includes(folderId.toLowerCase());
DISTINGUISHED_FOLDERS[folderId.toLowerCase()] !== undefined;
const folderIdXml = isDistinguished
? `<t:DistinguishedFolderId Id="${folderId}"/>`