whenUserLoggedIn

inline fun <T> ChatEvent.whenUserLoggedIn(block: (UserLoggedIn) -> T): T?