diff options
author | Anna Larch <anna@nextcloud.com> | 2021-06-18 16:33:43 +0300 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2021-06-21 11:32:45 +0300 |
commit | 6fce9e02fbda4720f4c2e9c820194a63b9e4393f (patch) | |
tree | cd8b9ffb5147d4dbec58fe6b39502175211bb0f8 /lib/Model | |
parent | e0e7206fc0af89c4ce8f341f00c2bf6c1ef1ed28 (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.php | 2 |
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); |