Search in sources :

Example 11 with ChatProfileVO

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;
}
Also used : ChatProfileVO(com.fanap.podchat.chat.user.profile.ChatProfileVO) UserInfo(com.fanap.podchat.mainmodel.UserInfo)

Aggregations

ChatProfileVO (com.fanap.podchat.chat.user.profile.ChatProfileVO)11 CacheThreadParticipant (com.fanap.podchat.cachemodel.CacheThreadParticipant)8 CacheParticipant (com.fanap.podchat.cachemodel.CacheParticipant)7 CacheCallParticipant (com.fanap.podchat.call.persist.CacheCallParticipant)7 Participant (com.fanap.podchat.mainmodel.Participant)6 ArrayList (java.util.ArrayList)5 SimpleDateFormat (java.text.SimpleDateFormat)4 Calendar (java.util.Calendar)4 Date (java.util.Date)4 CacheParticipantRoles (com.fanap.podchat.cachemodel.CacheParticipantRoles)3 CacheAssistantVo (com.fanap.podchat.cachemodel.CacheAssistantVo)2 ThreadVo (com.fanap.podchat.cachemodel.ThreadVo)2 AssistantVo (com.fanap.podchat.chat.assistant.model.AssistantVo)2 Thread (com.fanap.podchat.mainmodel.Thread)2 UserInfo (com.fanap.podchat.mainmodel.UserInfo)2 ParseException (java.text.ParseException)2 Nullable (android.support.annotation.Nullable)1 CacheForwardInfo (com.fanap.podchat.cachemodel.CacheForwardInfo)1 CacheMessageVO (com.fanap.podchat.cachemodel.CacheMessageVO)1 CacheReplyInfoVO (com.fanap.podchat.cachemodel.CacheReplyInfoVO)1