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 1b01001629
commit 092e4db1a2
2 changed files with 2 additions and 1 deletions

View File

@@ -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
}

1
changelog.d/1117.feature Normal file
View File

@@ -0,0 +1 @@
Render emote notifications like in the timeline