mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix incoming call notification content (related to #4225)
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ class DefaultCallNotificationEventResolver @Inject constructor(
|
|||||||
noisy = true,
|
noisy = true,
|
||||||
timestamp = this.timestamp,
|
timestamp = this.timestamp,
|
||||||
senderDisambiguatedDisplayName = getDisambiguatedDisplayName(content.senderId),
|
senderDisambiguatedDisplayName = getDisambiguatedDisplayName(content.senderId),
|
||||||
body = "☎️ ${stringProvider.getString(R.string.notification_incoming_call)}",
|
body = stringProvider.getString(R.string.notification_incoming_call),
|
||||||
roomName = roomDisplayName,
|
roomName = roomDisplayName,
|
||||||
roomIsDm = isDm,
|
roomIsDm = isDm,
|
||||||
roomAvatarPath = roomAvatarUrl,
|
roomAvatarPath = roomAvatarUrl,
|
||||||
|
|||||||
+3
-3
@@ -627,7 +627,7 @@ class DefaultNotifiableEventResolverTest {
|
|||||||
senderId = A_USER_ID_2,
|
senderId = A_USER_ID_2,
|
||||||
roomName = A_ROOM_NAME,
|
roomName = A_ROOM_NAME,
|
||||||
editedEventId = null,
|
editedEventId = null,
|
||||||
description = "Incoming call",
|
description = "📹 Incoming call",
|
||||||
timestamp = timestamp,
|
timestamp = timestamp,
|
||||||
canBeReplaced = true,
|
canBeReplaced = true,
|
||||||
isRedacted = false,
|
isRedacted = false,
|
||||||
@@ -663,7 +663,7 @@ class DefaultNotifiableEventResolverTest {
|
|||||||
timestamp = 0L,
|
timestamp = 0L,
|
||||||
senderDisambiguatedDisplayName = A_USER_NAME_2,
|
senderDisambiguatedDisplayName = A_USER_NAME_2,
|
||||||
senderId = A_USER_ID_2,
|
senderId = A_USER_ID_2,
|
||||||
body = "☎\uFE0F Incoming call",
|
body = "📹 Incoming call",
|
||||||
roomId = A_ROOM_ID,
|
roomId = A_ROOM_ID,
|
||||||
threadId = null,
|
threadId = null,
|
||||||
roomName = A_ROOM_NAME,
|
roomName = A_ROOM_NAME,
|
||||||
@@ -699,7 +699,7 @@ class DefaultNotifiableEventResolverTest {
|
|||||||
timestamp = A_TIMESTAMP,
|
timestamp = A_TIMESTAMP,
|
||||||
senderDisambiguatedDisplayName = A_USER_NAME_2,
|
senderDisambiguatedDisplayName = A_USER_NAME_2,
|
||||||
senderId = A_USER_ID_2,
|
senderId = A_USER_ID_2,
|
||||||
body = "☎\uFE0F Incoming call",
|
body = "📹 Incoming call",
|
||||||
roomId = A_ROOM_ID,
|
roomId = A_ROOM_ID,
|
||||||
threadId = null,
|
threadId = null,
|
||||||
roomName = A_ROOM_NAME,
|
roomName = A_ROOM_NAME,
|
||||||
|
|||||||
Reference in New Issue
Block a user