From 425509d4f83f05a163eb81826e319303ec08fbef Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Thu, 30 Jan 2020 11:35:44 +1100 Subject: [PATCH] Fix group name handling --- Signal/src/UserInterface/Notifications/AppNotifications.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal/src/UserInterface/Notifications/AppNotifications.swift b/Signal/src/UserInterface/Notifications/AppNotifications.swift index 8ad0c625f..94083e78a 100644 --- a/Signal/src/UserInterface/Notifications/AppNotifications.swift +++ b/Signal/src/UserInterface/Notifications/AppNotifications.swift @@ -371,8 +371,8 @@ public class NotificationPresenter: NSObject, NotificationsProtocol { notificationTitle = senderName case is TSGroupThread: var groupName = thread.name() - if groupName.count < 1 || groupName == "New Group" { - groupName = DisplayNameUtilities.getDisplayName(for: thread as! TSGroupThread) + if groupName.count < 1 { + groupName = MessageStrings.newGroupDefaultTitle } notificationTitle = String(format: NotificationStrings.incomingGroupMessageTitleFormat, senderName,