setUser

fun setUser(user: User, online: Boolean = user.online)

Sets the User we want to show the avatar for.

Parameters

user

The user to display the avatar for.

online

If the user is online.