userCameOnline method

void userCameOnline(
  1. dynamic jid
)

Implementation

void userCameOnline(jid) {
  if (jid.isNotEmpty &&
      profile.jid == jid &&
      !profile.isGroupProfile.checkNull() &&
      (!profile.isBlockedMe.checkNull() ||
          !profile.isAdminBlocked.checkNull())) {
    debugPrint("userCameOnline : $jid");
    /*Future.delayed(const Duration(milliseconds: 3000), () {
      setChatStatus();
    });*/
    userPresenceStatus(getTranslated("online"));
  }
}