调整跳转消息页方法
This commit is contained in:
parent
5f107fef25
commit
fc7f949f7a
@ -160,6 +160,7 @@ import io.reactivex.disposables.Disposable;
|
|||||||
import io.rong.imkit.RongIM;
|
import io.rong.imkit.RongIM;
|
||||||
import io.rong.imkit.config.RongConfigCenter;
|
import io.rong.imkit.config.RongConfigCenter;
|
||||||
import io.rong.imkit.notification.NotificationConfig;
|
import io.rong.imkit.notification.NotificationConfig;
|
||||||
|
import io.rong.imkit.utils.RouteUtils;
|
||||||
import io.rong.imlib.RongCoreClient;
|
import io.rong.imlib.RongCoreClient;
|
||||||
import io.rong.imlib.RongIMClient;
|
import io.rong.imlib.RongIMClient;
|
||||||
import io.rong.imlib.model.Conversation;
|
import io.rong.imlib.model.Conversation;
|
||||||
@ -1542,7 +1543,8 @@ public class MainActivity extends AbsActivity implements MainAppBarLayoutListene
|
|||||||
*/
|
*/
|
||||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||||
public void onMainHomeCommunityToChatEvent(MainHomeCommunityToChatEvent model) {
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user