buildDefaultChannelOptionsState
fun buildDefaultChannelOptionsState(selectedChannel: Channel, isMuted: Boolean, ownCapabilities: Set<String>): List<ChannelOptionState>
Builds the default list of channel options, based on the current user and the state of the channel.
Return
The list of channel option items to display.
Parameters
selectedChannel
The currently selected channel.
isMuted
If the channel is muted or not.
ownCapabilities
Set of capabilities the user is given for the current channel.