userUpdatedHisProfile method
Implementation
void userUpdatedHisProfile(String jid) {
if (jid.isNotEmpty) {
getProfileDetails(jid).then((value) {
var messageIndex =
starredChatList.indexWhere((element) => element.chatUserJid == jid);
if (!messageIndex.isNegative) {
starredChatList.refresh();
}
});
}
}