From fc7f949f7ade98ad99bcd1d79836bf664ed6cd5e Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 27 Jul 2024 12:13:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=B7=B3=E8=BD=AC=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E9=A1=B5=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/src/main/java/com/yunbao/main/activity/MainActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()); } /**