diff --git a/Signal/src/environment/NotificationsManager.m b/Signal/src/environment/NotificationsManager.m index 13fd350b7..fafc5da35 100644 --- a/Signal/src/environment/NotificationsManager.m +++ b/Signal/src/environment/NotificationsManager.m @@ -96,6 +96,9 @@ PushManagerUserInfoKeysCallBackSignalRecipientId : call.remotePhoneNumber }; + if ([self shouldPlaySoundForNotification]) { + notification.soundName = @"NewMessage.aifc"; + } NSString *alertMessage; switch (self.notificationPreviewType) { @@ -132,6 +135,9 @@ PushManagerUserInfoKeysCallBackSignalRecipientId : call.remotePhoneNumber, Signal_Thread_UserInfo_Key : thread.uniqueId }; + if ([self shouldPlaySoundForNotification]) { + notification.soundName = @"NewMessage.aifc"; + } NSString *alertMessage; switch (self.notificationPreviewType) { @@ -169,6 +175,9 @@ PushManagerUserInfoKeysCallBackSignalRecipientId : call.remotePhoneNumber, Signal_Thread_UserInfo_Key : thread.uniqueId }; + if ([self shouldPlaySoundForNotification]) { + notification.soundName = @"NewMessage.aifc"; + } NSString *alertMessage; switch (self.notificationPreviewType) {