userDeletedHisProfile method

void userDeletedHisProfile(
  1. dynamic jid
)

Implementation

void userDeletedHisProfile(dynamic jid) {
  if (Get.isRegistered<DashboardController>()) {
    Get.find<DashboardController>().userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<ChatController>()) {
    Get.find<ChatController>().userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<ArchivedChatListController>()) {
    Get.find<ArchivedChatListController>()
        .userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<ContactController>()) {
    Get.find<ContactController>().userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<AddParticipantsController>()) {
    Get.find<AddParticipantsController>()
        .userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<BlockedListController>()) {
    Get.find<BlockedListController>().userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<ForwardChatController>()) {
    Get.find<ForwardChatController>().userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<ChatInfoController>()) {
    Get.find<ChatInfoController>().userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<GroupInfoController>()) {
    Get.find<GroupInfoController>().userDeletedHisProfile(jid.toString());
  }
  if (Get.isRegistered<StarredMessagesController>()) {
    Get.find<StarredMessagesController>()
        .userDeletedHisProfile(jid.toString());
  }
}