Skip to content

Commit ad40f59

Browse files
committed
bug fix: getConversation shoul NOT return thread conversation.
1 parent 630bd2d commit ad40f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

im_flutter_sdk_android/android/src/main/java/com/easemob/im_flutter_sdk/ChatManagerWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ private void getConversation(JSONObject params, String channelName, Result resul
363363

364364
boolean finalCreateIfNeed = createIfNeed;
365365
asyncRunnable(() -> {
366-
EMConversation conversation = EMClient.getInstance().chatManager().getConversation(conId, type, finalCreateIfNeed);
366+
EMConversation conversation = EMClient.getInstance().chatManager().getConversation(conId, type, finalCreateIfNeed, false);
367367
onSuccess(result, channelName, conversation != null ? ConversationHelper.toJson(conversation) : null);
368368
});
369369
}

0 commit comments

Comments
 (0)