JMessage获取会话,一定机率Conversation为null

fearless
2018-10-10 01:57 1.4k 0
conversation = JMessageClient.getSingleConversation(toid);
            if (conversation == null) {
                conversation = Conversation.createSingleConversation(toid);
            }
            adapter = new PrivateLetterChatAdapter(this, conversation);

部分代码 这样,一定机率下conversation 为null

1个回答

热门排序