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
path: root/lib/Model
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2021-06-18 16:33:43 +0300
committerAnna Larch <anna@nextcloud.com>2021-06-21 11:32:45 +0300
commit6fce9e02fbda4720f4c2e9c820194a63b9e4393f (patch)
treecd8b9ffb5147d4dbec58fe6b39502175211bb0f8 /lib/Model
parente0e7206fc0af89c4ce8f341f00c2bf6c1ef1ed28 (diff)
Add $ back to label creation process
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/Model')
-rw-r--r--lib/Model/IMAPMessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Model/IMAPMessage.php b/lib/Model/IMAPMessage.php
index 9c919e3a1..07016af78 100644
--- a/lib/Model/IMAPMessage.php
+++ b/lib/Model/IMAPMessage.php
@@ -789,7 +789,7 @@ class IMAPMessage implements IMessage, JsonSerializable {
$keyword = Tag::LABEL_LATER;
}
- $displayName = str_replace('_', ' ', $keyword);
+ $displayName = str_replace(['_', '$'], [' ', ''], $keyword);
$displayName = strtoupper($displayName);
$displayName = mb_convert_encoding($displayName, 'UTF-8', 'UTF7-IMAP');
$displayName = strtolower($displayName);