toMessageListItemWrapper
fun MessageListState.toMessageListItemWrapper(isInThread: Boolean, prevNewMessageState: NewMessageState? = null): MessageListItemWrapper
Converts the common MessageListState to ui-components MessageListItemWrapper.
Return
MessageListItemWrapper derived from MessageListState.
Parameters
isInThread
Whether the message list is currently in thread mode or not.
prevNewMessageState
The previous NewMessageState to compare with the current one.