onMessageDeleteNotifyUI method

void onMessageDeleteNotifyUI({
  1. required String chatJid,
  2. bool changePosition = true,
})

Implementation

void onMessageDeleteNotifyUI(
    {required String chatJid, bool changePosition = true}) {
  if (Get.isRegistered<DashboardController>()) {
    Get.find<DashboardController>()
        .updateRecentChat(jid: chatJid, changePosition: changePosition);
  }
}