formatChannelName

abstract fun formatChannelName(channel: Channel, currentUser: User?): String

Generates a name for the given channel.

Return

The display name for the given channel.

Parameters

channel

The channel data used to generate the name.

currentUser

The currently logged in user.