mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Pinned items timeline implementation for the banner (#3099)
This commit is contained in:
@@ -103,7 +103,7 @@ struct NotificationContentBuilder {
|
||||
var notification = try await processCommonRoomMessage(notificationItem: notificationItem, mediaProvider: mediaProvider)
|
||||
|
||||
let displayName = notificationItem.senderDisplayName ?? notificationItem.roomDisplayName
|
||||
let message = String(messageEventStringBuilder.buildAttributedString(for: messageType, senderDisplayName: displayName, prefixWithSenderName: false).characters)
|
||||
let message = String(messageEventStringBuilder.buildAttributedString(for: messageType, senderDisplayName: displayName).characters)
|
||||
|
||||
notification.body = notificationItem.hasMention ? L10n.notificationMentionedYouBody(message) : message
|
||||
|
||||
|
||||
Reference in New Issue
Block a user