Commit 722de4c9 by 王文龙

[update]更新kitsdk优化聊天页发送类型枚举

parent 079ccb26
...@@ -94,7 +94,7 @@ dependencies { ...@@ -94,7 +94,7 @@ dependencies {
implementation 'com.android.support:multidex:1.0.3' implementation 'com.android.support:multidex:1.0.3'
implementation("com.offcn.live:base:2.5.0-s18") implementation("com.offcn.live:base:2.5.0-s18")
implementation("com.offcn.live:imsdk-kit:1.0.0.45") implementation("com.offcn.live:imsdk-kit:1.0.0.46")
// DB // DB
implementation 'org.greenrobot:greendao:3.2.2' implementation 'org.greenrobot:greendao:3.2.2'
......
...@@ -124,7 +124,7 @@ public class ContactListFragment extends BaseFragment { ...@@ -124,7 +124,7 @@ public class ContactListFragment extends BaseFragment {
} }
} }
toId = stringBuilder.toString(); toId = stringBuilder.toString();
OIMSDK.getInstance().startChat(getActivity(), OIMSendTypeEnum.GROUP, toId, title, 0); OIMSDK.getInstance().startChat(getActivity(), OIMSendTypeEnum.BATCH, toId, title, 0);
} else { } else {
CommonUtils.showToast(getActivity(), "暂无学员"); CommonUtils.showToast(getActivity(), "暂无学员");
} }
...@@ -175,7 +175,7 @@ public class ContactListFragment extends BaseFragment { ...@@ -175,7 +175,7 @@ public class ContactListFragment extends BaseFragment {
} }
} }
toId = stringBuilder.toString(); toId = stringBuilder.toString();
OIMSDK.getInstance().startChat(getActivity(), OIMSendTypeEnum.GROUP, toId, title, 0); OIMSDK.getInstance().startChat(getActivity(), OIMSendTypeEnum.BATCH, toId, title, 0);
} else { } else {
CommonUtils.showToast(getActivity(), "暂无学员"); CommonUtils.showToast(getActivity(), "暂无学员");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment