Fix incoming call notification content (related to #4225)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user