新增被禁言的提示
This commit is contained in:
@@ -132,7 +132,11 @@ public class SocketRyChatUtil {
|
||||
@Override
|
||||
public void onError(Message message, RongIMClient.ErrorCode errorCode) {
|
||||
Log.e("tx", "aaa" + errorCode.toString());
|
||||
ToastUtil.show(errorCode.code + ":" + errorCode.msg);
|
||||
if (errorCode.code == 23408) {
|
||||
ToastUtil.show(R.string.live_ban_tip);
|
||||
} else {
|
||||
ToastUtil.show(errorCode.code + ":" + errorCode.msg);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -411,7 +415,7 @@ public class SocketRyChatUtil {
|
||||
ct = CommonAppContext.sInstance.getBaseContext().getString(R.string.live_shut_2);
|
||||
break;
|
||||
case 2:
|
||||
ct = String.format(CommonAppContext.sInstance.getBaseContext().getString(R.string.live_shut_3),time+"");
|
||||
ct = String.format(CommonAppContext.sInstance.getBaseContext().getString(R.string.live_shut_3), time + "");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user