Render emote notifications like in the timeline (#1152)

Fixes: #1117
This commit is contained in:
Johannes Marbach
2023-06-26 18:33:46 +02:00
committed by GitHub
parent ad1b4a761a
commit 7d3dcee5a3
2 changed files with 2 additions and 1 deletions
@@ -360,7 +360,7 @@ extension NotificationItemProxyProtocol {
private func processEmote(content: EmoteMessageContent,
mediaProvider: MediaProviderProtocol?) async throws -> UNMutableNotificationContent {
let notification = try await processCommon(mediaProvider: mediaProvider)
notification.body = "🫥 " + content.body
notification.body = L10n.commonEmote(senderDisplayName ?? roomDisplayName, content.body)
return notification
}