Hide typing events if there is a live voice broadcast
This commit is contained in:
parent
69beef4648
commit
aa5270760e
@ -146,6 +146,8 @@ class RoomSummaryItemFactory @Inject constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
val typingMessage = typingHelper.getTypingMessage(roomSummary.typingUsers)
|
val typingMessage = typingHelper.getTypingMessage(roomSummary.typingUsers)
|
||||||
|
// Skip typing while there is a live voice broadcast
|
||||||
|
.takeUnless { latestEvent?.root?.asVoiceBroadcastEvent()?.isLive.orFalse() }.orEmpty()
|
||||||
|
|
||||||
return if (subtitle.isBlank() && displayMode == RoomListDisplayMode.FILTERED) {
|
return if (subtitle.isBlank() && displayMode == RoomListDisplayMode.FILTERED) {
|
||||||
createCenteredRoomSummaryItem(roomSummary, displayMode, showSelected, unreadCount, onClick, onLongClick)
|
createCenteredRoomSummaryItem(roomSummary, displayMode, showSelected, unreadCount, onClick, onLongClick)
|
||||||
|
Loading…
Reference in New Issue
Block a user