mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
[merge] Fix room summary preview mismerge
Change-Id: I7a1511fc0c6adc1a98cea4a0517835efae83e069
This commit is contained in:
parent
6a2f318c1d
commit
98b98c069d
2 changed files with 3 additions and 1 deletions
|
@ -35,6 +35,7 @@ object RoomSummaryConstants {
|
|||
EventType.REACTION,
|
||||
) +
|
||||
EventType.POLL_START.values +
|
||||
EventType.POLL_END.values +
|
||||
EventType.STATE_ROOM_BEACON_INFO.values
|
||||
|
||||
// SC addition | this is the Element behaviour previous to Element v1.0.7
|
||||
|
@ -57,6 +58,7 @@ object RoomSummaryConstants {
|
|||
EventType.STATE_ROOM_CREATE
|
||||
) +
|
||||
EventType.POLL_START.values +
|
||||
EventType.POLL_END.values +
|
||||
EventType.STATE_ROOM_BEACON_INFO.values
|
||||
|
||||
// SC addition | no reactions in here
|
||||
|
|
|
@ -49,7 +49,7 @@ class GetLatestPreviewableEventUseCase @Inject constructor(
|
|||
?: getLiveVoiceBroadcastEvent(room)
|
||||
?: getDefaultLatestEvent(room, roomSummary)
|
||||
} else {
|
||||
roomSummary.latestPreviewableEvent
|
||||
roomSummary.scLatestPreviewableEvent()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue