Browse Source

Improve temporary message displayed in notifications

test/jme/compound-poc
Benoit Marty 1 year ago
parent
commit
3966a03e3b
  1. 2
      libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/NotifiableEventResolver.kt

2
libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/NotifiableEventResolver.kt

@ -89,7 +89,7 @@ private fun NotificationData.asNotifiableEvent(userId: SessionId, roomId: RoomId @@ -89,7 +89,7 @@ private fun NotificationData.asNotifiableEvent(userId: SessionId, roomId: RoomId
timestamp = System.currentTimeMillis(),
senderName = null,
senderId = null,
body = "$eventId in $roomId",
body = "Message ${eventId.value.take(8)} in room ${roomId.value.take(8)}",
imageUriString = null,
threadId = null,
roomName = null,

Loading…
Cancel
Save