diff --git a/vector/src/main/java/im/vector/riotredesign/features/notifications/NotifiableEventResolver.kt b/vector/src/main/java/im/vector/riotredesign/features/notifications/NotifiableEventResolver.kt index 650a62f8..7ef7a720 100644 --- a/vector/src/main/java/im/vector/riotredesign/features/notifications/NotifiableEventResolver.kt +++ b/vector/src/main/java/im/vector/riotredesign/features/notifications/NotifiableEventResolver.kt @@ -118,7 +118,8 @@ class NotifiableEventResolver(val stringProvider: StringProvider, notifiableEvent.matrixID = session.sessionParams.credentials.userId return notifiableEvent } else { - val body = event.root.getClearContent().toModel()?.body + val body = event.annotations?.editSummary?.aggregatedContent?.toModel()?.body + ?: event.root.getClearContent().toModel()?.body ?: stringProvider.getString(R.string.notification_unknown_new_event) val roomName = room.roomSummary?.displayName ?: "" val senderDisplayName = event.senderName ?: ""