|
@@ -71,16 +71,17 @@ public class ChatHelper {
|
|
|
}
|
|
|
|
|
|
public void goGroupChat(String targetId, String nickName) {
|
|
|
- if (TextUtils.isEmpty(targetId)) {
|
|
|
+ if (UiUtils.isFastClick()) {
|
|
|
return;
|
|
|
}
|
|
|
- if (UiUtils.isFastClick()) {
|
|
|
+ if (TextUtils.isEmpty(targetId)) {
|
|
|
+ ToastUtil.getInstance().showShort("报名未结束,暂无群组");
|
|
|
return;
|
|
|
}
|
|
|
Bundle param = new Bundle();
|
|
|
param.putInt(TUIConstants.TUIChat.CHAT_TYPE, V2TIMConversation.V2TIM_GROUP);
|
|
|
param.putString(TUIConstants.TUIChat.CHAT_ID, targetId);
|
|
|
- param.putString(TUIConstants.TUIChat.CHAT_NAME, nickName);
|
|
|
+ param.putString(TUIConstants.TUIChat.CHAT_NAME, "");
|
|
|
TUICore.startActivity(TUIConstants.TUIChat.GROUP_CHAT_ACTIVITY_NAME, param);
|
|
|
}
|
|
|
|