diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-08 15:16:00 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-08 15:33:57 +0300 |
commit | 5b91b1f5b4df2e5603b3facba0b77bf4bcd8612f (patch) | |
tree | d00a9f7fb27c9dde531ed82a8e79e9238aff12f9 /lib/Contracts | |
parent | 4b519d5b6dd4d1260f133ee4b977a6bd2829fee1 (diff) |
Make it possible to mark a folder as read
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/Contracts')
-rw-r--r-- | lib/Contracts/IMailManager.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Contracts/IMailManager.php b/lib/Contracts/IMailManager.php index c94e7cb81..ca7441197 100644 --- a/lib/Contracts/IMailManager.php +++ b/lib/Contracts/IMailManager.php @@ -70,4 +70,12 @@ interface IMailManager { public function moveMessage(Account $sourceAccount, string $sourceFolderId, int $messageId, Account $destinationAccount, string $destFolderId); + /** + * Mark all messages of a folder as read + * + * @param Account $account + * @param string $folderId + */ + public function markFolderAsRead(Account $account, string $folderId): void; + } |