|
@@ -97,7 +97,7 @@ public class ContactPersonListFragment extends BaseMVPFragment<FragmentContactLi
|
|
|
//选择联系人模式
|
|
|
if (getActivity() != null) {
|
|
|
Intent intent = new Intent();
|
|
|
- intent.putExtra(ConversationHelper.TARGET_ID_KEY, item.friendId);
|
|
|
+ intent.putExtra(ConversationHelper.TARGET_ID_KEY, item.getImFriendId());
|
|
|
intent.putExtra(ConversationHelper.CONVERSATION_TYPE_KEY, Conversation.ConversationType.PRIVATE.getValue());
|
|
|
getActivity().setResult(Activity.RESULT_OK, intent);
|
|
|
getActivity().finish();
|
|
@@ -105,7 +105,7 @@ public class ContactPersonListFragment extends BaseMVPFragment<FragmentContactLi
|
|
|
return;
|
|
|
}
|
|
|
ContactListBean item = (ContactListBean) adapter.getItem(position);
|
|
|
- goChat(view, item.friendId + "", item.friendNickname);
|
|
|
+ goChat(view, item.getImFriendId() + "", item.friendNickname);
|
|
|
}
|
|
|
});
|
|
|
|