1:修改群聊可以不充值发送消息
2:修改群聊设置不用退出多次
This commit is contained in:
@@ -29,6 +29,7 @@ import androidx.fragment.app.FragmentManager;
|
||||
import com.alibaba.android.arouter.launcher.ARouter;
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.JsonSyntaxException;
|
||||
import com.tencent.imsdk.v2.V2TIMConversation;
|
||||
import com.tencent.imsdk.v2.V2TIMManager;
|
||||
import com.tencent.qcloud.tuicore.TUIConstants;
|
||||
import com.tencent.qcloud.tuicore.TUICore;
|
||||
@@ -267,7 +268,7 @@ public class InputView extends LinearLayout implements View.OnClickListener, Tex
|
||||
private boolean isChock(){
|
||||
userInd userInfo = getUserInfo();
|
||||
|
||||
if (userInfo != null) {
|
||||
if (userInfo != null && mChatInfo.getType()==1) {
|
||||
if (userInfo.getIs_can_chat() == 0 && userInfo.getCan_chat_money() > 0) {
|
||||
Toast.makeText(getContext(), "充值不足"+userInfo.getCan_chat_money()+"元,您无法发送消息", Toast.LENGTH_LONG).show();
|
||||
ARouter.getInstance().build("/modulevocal/RechargeActivity").navigation();
|
||||
@@ -275,7 +276,7 @@ public class InputView extends LinearLayout implements View.OnClickListener, Tex
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
protected void init() {
|
||||
|
||||
Reference in New Issue
Block a user