mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
Hide typing events if there is a live voice broadcast
This commit is contained in:
parent
69beef4648
commit
aa5270760e
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ class RoomSummaryItemFactory @Inject constructor(
|
|||
}
|
||||
|
||||
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) {
|
||||
createCenteredRoomSummaryItem(roomSummary, displayMode, showSelected, unreadCount, onClick, onLongClick)
|
||||
|
|
Loading…
Reference in a new issue