pull/638/head
Ryan Zhao 3 years ago
parent 3a3ffc4289
commit b9d5009c3d

@ -312,8 +312,8 @@ public class NotificationPresenter: NSObject, NotificationsProtocol {
let context = Contact.context(for: thread) let context = Contact.context(for: thread)
let senderName = Storage.shared.getContact(with: sender, using: transaction)?.displayName(for: context) ?? sender let senderName = Storage.shared.getContact(with: sender, using: transaction)?.displayName(for: context) ?? sender
let notificationTitle = "Sesion" let notificationTitle = "Session"
var notificationBody = "\(senderName) reacts to your message with \(emoji)" var notificationBody = "\(senderName) reacts to a message with \(emoji)"
switch previewType { switch previewType {
case .namePreview: break case .namePreview: break
default: notificationBody = NotificationStrings.incomingMessageBody default: notificationBody = NotificationStrings.incomingMessageBody

Loading…
Cancel
Save