Fallback to message content of end message if no event found for start message

This commit is contained in:
Maxime NATUREL 2023-01-31 17:15:26 +01:00
parent 7a95ece738
commit 8fb38f57dc
1 changed files with 1 additions and 0 deletions

View File

@ -731,6 +731,7 @@ internal class LocalEchoEventFactory @Inject constructor(
localEchoRepository
.getRelatedPollEvent(timelineEvent)
?.getLastMessageContent()
?: timelineEvent.getLastMessageContent()
}
else -> timelineEvent.getLastMessageContent()
}