diff --git a/main/src/main/java/com/yunbao/main/activity/MainActivity.java b/main/src/main/java/com/yunbao/main/activity/MainActivity.java index 1895107f0..b4eef41fa 100644 --- a/main/src/main/java/com/yunbao/main/activity/MainActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MainActivity.java @@ -160,6 +160,7 @@ import io.reactivex.disposables.Disposable; import io.rong.imkit.RongIM; import io.rong.imkit.config.RongConfigCenter; import io.rong.imkit.notification.NotificationConfig; +import io.rong.imkit.utils.RouteUtils; import io.rong.imlib.RongCoreClient; import io.rong.imlib.RongIMClient; import io.rong.imlib.model.Conversation; @@ -1542,7 +1543,8 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene */ @Subscribe(threadMode = ThreadMode.MAIN) public void onMainHomeCommunityToChatEvent(MainHomeCommunityToChatEvent model) { - ConversationIMListManager.get(mContext).jumpConversation(mContext, model.getTargetId()); + // ConversationIMListManager.get(mContext).jumpConversation(mContext, model.getTargetId()); + RouteUtils.routeToConversationActivity(mContext, Conversation.ConversationType.PRIVATE,model.getTargetId()); } /**