Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2021-06-14 11:10:33 +0300
committerAnna Larch <anna@nextcloud.com>2021-06-22 12:19:10 +0300
commitd1741deefc9748e1dca4a29a94a9ad8fb94520f3 (patch)
tree855a3d9ab1d71db3a13de7480d5255b04368700e /lib/Contracts
parentbf72159528e90ac0bffc6e2a072e925dca7d458b (diff)
Tag messages in classifier
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/Contracts')
-rw-r--r--lib/Contracts/IMailManager.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/Contracts/IMailManager.php b/lib/Contracts/IMailManager.php
index 1eafd7b32..57237f45e 100644
--- a/lib/Contracts/IMailManager.php
+++ b/lib/Contracts/IMailManager.php
@@ -164,7 +164,7 @@ interface IMailManager {
/**
* @param Account $account
* @param string $mailbox
- * @param int $uid
+ * @param Message $message
* @param Tag $tag
* @param bool $value
*
@@ -242,6 +242,15 @@ interface IMailManager {
public function getTagByImapLabel(string $imapLabel, string $userId): Tag;
/**
+ * Check IMAP server for support for PERMANENTFLAGS
+ *
+ * @param Account $account
+ * @param string $mailbox
+ * @return boolean
+ */
+ public function isPermflagsEnabled(Account $account, string $mailbox): bool;
+
+ /**
* Create a mail tag
*
* @param string $userId