@Composable public fun MessageReadStatusIcon( channel: Channel, message: Message, currentUser: User?, modifier: Modifier = Modifier, ) { val readStatues = channel.getReadStatuses(userToIgnore = currentUser)val readCount = readStatues.count { it.time >= message.getCreatedAtOrThrow().time }val isMessageRead = readCount != 0 MessageReadStatusIcon(message = message,isMessageRead = isMessageRead,modifier = modifier,)}
Shows a delivery status indicator for a particular message