diff --git a/src/main/java/eu/siacs/conversations/services/NotificationService.java b/src/main/java/eu/siacs/conversations/services/NotificationService.java index 58cf7299bb9c7a80b9af8bb50c0b885b631e2742..859993ec1a9e61d9001468a293248be90281cabf 100644 --- a/src/main/java/eu/siacs/conversations/services/NotificationService.java +++ b/src/main/java/eu/siacs/conversations/services/NotificationService.java @@ -886,7 +886,7 @@ public class NotificationService { private void setNotificationColor(final Builder mBuilder, Account account) { int color; if (account != null && mXmppConnectionService.getAccounts().size() > 1) { - color = UIHelper.getColorForName(account.getJid().asBareJid().toString()); + color = account.getColor(false); } else { TypedValue typedValue = new TypedValue(); mXmppConnectionService.getTheme().resolveAttribute(R.attr.colorPrimary, typedValue, true);