mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Fallback to message content of end message if no event found for start message
This commit is contained in:
parent
7a95ece738
commit
8fb38f57dc
1 changed files with 1 additions and 0 deletions
|
@ -731,6 +731,7 @@ internal class LocalEchoEventFactory @Inject constructor(
|
|||
localEchoRepository
|
||||
.getRelatedPollEvent(timelineEvent)
|
||||
?.getLastMessageContent()
|
||||
?: timelineEvent.getLastMessageContent()
|
||||
}
|
||||
else -> timelineEvent.getLastMessageContent()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue