mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-22 18:16:43 +00:00
Fix setting flags
This commit is contained in:
@ -207,6 +207,10 @@ func (c *IMAPClient) MarkAsUnstarred(ids string) *IMAPResponse {
|
||||
return c.RemoveFlags(ids, "\\Flagged")
|
||||
}
|
||||
|
||||
func (c *IMAPClient) SetFlags(ids, flags string) *IMAPResponse {
|
||||
return c.changeFlags(ids, flags, "")
|
||||
}
|
||||
|
||||
func (c *IMAPClient) AddFlags(ids, flags string) *IMAPResponse {
|
||||
return c.changeFlags(ids, flags, "+")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user