shouldShowOnlineIndicator

fun User.shouldShowOnlineIndicator(userPresence: UserPresence, currentUser: User?): Boolean

Determines if the online indicator should be shown for the user based on the user presence configuration.

Parameters

userPresence

The user presence configuration.

currentUser

The current user.