Fix incoming call notification content (related to #4225)

This commit is contained in:
Benoit Marty
2025-02-03 15:19:12 +01:00
parent 5a4cac7d2d
commit 9a386af9bc
2 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ class DefaultCallNotificationEventResolver @Inject constructor(
noisy = true,
timestamp = this.timestamp,
senderDisambiguatedDisplayName = getDisambiguatedDisplayName(content.senderId),
body = "☎️ ${stringProvider.getString(R.string.notification_incoming_call)}",
body = stringProvider.getString(R.string.notification_incoming_call),
roomName = roomDisplayName,
roomIsDm = isDm,
roomAvatarPath = roomAvatarUrl,

View File

@@ -627,7 +627,7 @@ class DefaultNotifiableEventResolverTest {
senderId = A_USER_ID_2,
roomName = A_ROOM_NAME,
editedEventId = null,
description = "Incoming call",
description = "📹 Incoming call",
timestamp = timestamp,
canBeReplaced = true,
isRedacted = false,
@@ -663,7 +663,7 @@ class DefaultNotifiableEventResolverTest {
timestamp = 0L,
senderDisambiguatedDisplayName = A_USER_NAME_2,
senderId = A_USER_ID_2,
body = "\uFE0F Incoming call",
body = "📹 Incoming call",
roomId = A_ROOM_ID,
threadId = null,
roomName = A_ROOM_NAME,
@@ -699,7 +699,7 @@ class DefaultNotifiableEventResolverTest {
timestamp = A_TIMESTAMP,
senderDisambiguatedDisplayName = A_USER_NAME_2,
senderId = A_USER_ID_2,
body = "\uFE0F Incoming call",
body = "📹 Incoming call",
roomId = A_ROOM_ID,
threadId = null,
roomName = A_ROOM_NAME,