getProfileDetail method
void
getProfileDetail(
- dynamic context,
- RecentChatData chatItem,
- int index
)
Implementation
void getProfileDetail(context, RecentChatData chatItem, int index) {
getProfileDetails(chatItem.jid.checkNull()).then((value) {
profile_(value);
debugPrint("dashboard controller profile update received");
showQuickProfilePopup(
// chatItem: chatItem,
chatTap: () {
NavUtils.back();
if (selected.value) {
selectOrRemoveChatfromList(index);
} else {
toChatPage(chatItem.jid.checkNull());
}
},
callTap: () {},
videoTap: () {},
infoTap: () {
NavUtils.back();
infoPage(value);
},
profile: profile_,
availableFeatures: availableFeatures);
});
}