From 012e6eff471893efaac033c69ddf7838ca51b791 Mon Sep 17 00:00:00 2001 From: Hivert Quentin Date: Mon, 14 Sep 2026 10:56:28 +0200 Subject: [PATCH] fix(junk): extend list of junk icon available --- Documentation/SOGoInstallationGuide.asciidoc | 13 +++++++++++-- SoObjects/SOGo/SOGoDomainDefaults.m | 10 +++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Documentation/SOGoInstallationGuide.asciidoc b/Documentation/SOGoInstallationGuide.asciidoc index d3030b38d..11050d103 100644 --- a/Documentation/SOGoInstallationGuide.asciidoc +++ b/Documentation/SOGoInstallationGuide.asciidoc @@ -2897,9 +2897,18 @@ SOGoMailJunkSettings = { ---- |D |mailJunkIcon -|Choose the Junk icon. For the thumb down `thumb_down`, for a shield `gpp_bad`. +|Choose the Junk icon. Values are : +https://materialui.co/icon/thumb-down[thumb_down], +https://materialui.co/icon/gpp-bad[gpp_bad], +https://materialui.co/icon/local-fire-department[local_fire_department], +https://materialui.co/icon/bug-report[bug_report], +https://materialui.co/icon/error[error], +https://materialui.co/icon/warning[warning], +https://materialui.co/icon/dangerous[dangerous] and +https://materialui.co/icon/report-gmailerrorred[report_gmailerrorred]. -Defaults to `gppthumb_down_bad`. + +Defaults to `thumb_down`. |D |SOGoMailKeepDraftsAfterSend |Parameter used to keep mails in the drafts folder once they have been diff --git a/SoObjects/SOGo/SOGoDomainDefaults.m b/SoObjects/SOGo/SOGoDomainDefaults.m index 090cd6031..d1d4be6c9 100644 --- a/SoObjects/SOGo/SOGoDomainDefaults.m +++ b/SoObjects/SOGo/SOGoDomainDefaults.m @@ -486,7 +486,15 @@ NSArray *iconsList; NSString *icon; - iconsList = [NSArray arrayWithObjects: @"thumb_down", @"gpp_bad", nil]; + iconsList = [NSArray arrayWithObjects: @"thumb_down", + @"gpp_bad", + @"local_fire_department", + @"bug_report", + @"error", + @"warning", + @"dangerous", + @"report_gmailerrorred", + nil]; icon = [self objectForKey: @"mailJunkIcon"]; if (([icon length] && ![iconsList containsObject:icon]) || ![icon length]) {