use of com.fanap.podchat.chat.user.profile.ChatProfileVO in project pod-chat-android-sdk by FanapSoft.
the class MessageDatabaseHelper method getUserInfo.
public UserInfo getUserInfo() {
UserInfo userInfo = new UserInfo();
if (messageDao.getUserInfo() != null) {
userInfo = messageDao.getUserInfo();
if (userInfo != null && userInfo.getId() > 0) {
ChatProfileVO chatProfileVO = getChatProfile(userInfo.getId());
userInfo.setChatProfileVO(chatProfileVO);
}
}
return userInfo;
}
Aggregations