diff options
author | Anna Larch <anna@nextcloud.com> | 2021-04-07 13:45:08 +0300 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2021-04-07 17:32:06 +0300 |
commit | 0c27b7705254f85aa34ae634d10332b3525ad9fe (patch) | |
tree | afbdb28b7b31376bfc8923a0f78090cbabb2fa7a /lib/Service | |
parent | 3b4a09ef94750d344c340faa2493467308cfe511 (diff) |
Change provisioning column
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/Classification/ImportanceClassifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/Classification/ImportanceClassifier.php b/lib/Service/Classification/ImportanceClassifier.php index f20727b1d..b59e16e2e 100644 --- a/lib/Service/Classification/ImportanceClassifier.php +++ b/lib/Service/Classification/ImportanceClassifier.php @@ -168,7 +168,7 @@ class ImportanceClassifier { [$this, 'filterMessageHasSenderEmail'] ); $importantMessages = array_filter($messages, function (Message $message) { - return $message->getFlagImportant(); + return ($message->getFlagImportant() === true); }); $logger->debug('found ' . count($messages) . ' messages of which ' . count($importantMessages) . ' are important'); if (count($importantMessages) < self::COLD_START_THRESHOLD) { |