@override void onUserOnline(User user) { if (this.user != null && user.uid == this.user?.uid) { this.user?.status = CometChatUserStatus.online; } update(); }