- Fix for gmail calendar event creation.
- Proper junk API calls for gmail and outlook, not just moving the item. - Add ability to hide ai actions panel.
This commit is contained in:
@@ -175,6 +175,11 @@ public class ContextMenuItemService : IContextMenuItemService
|
||||
else
|
||||
actionList.Add(MailOperationMenuItem.Create(MailOperation.MarkAsRead, true, false));
|
||||
|
||||
if (mailItem.AssignedFolder.SpecialFolderType == SpecialFolderType.Junk)
|
||||
actionList.Add(MailOperationMenuItem.Create(MailOperation.MarkAsNotJunk, true, true));
|
||||
else if (!mailItem.IsDraft && mailItem.AssignedFolder.SpecialFolderType != SpecialFolderType.Sent)
|
||||
actionList.Add(MailOperationMenuItem.Create(MailOperation.MoveToJunk, true, true));
|
||||
|
||||
return actionList;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user