From 36b85c15f5259de14b0431c372eb6a99feff5784 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Thu, 6 Jul 2023 16:44:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A3=98=E5=B1=8F=E5=BC=B9?= =?UTF-8?q?=E5=B9=95=E8=A2=AB=E7=A6=81=E8=A8=80=E6=B2=A1=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/socket/SocketRyChatUtil.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/socket/SocketRyChatUtil.java b/live/src/main/java/com/yunbao/live/socket/SocketRyChatUtil.java index 65627f5c5..57a56cb9a 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketRyChatUtil.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketRyChatUtil.java @@ -250,7 +250,12 @@ public class SocketRyChatUtil { @Override public void onError(Message message, RongIMClient.ErrorCode errorCode) { - + Log.e("tx", "aaa" + errorCode.toString()); + if (errorCode.code == 23408) { + ToastUtil.show(R.string.live_ban_tip); + } else { + ToastUtil.show(errorCode.code + ":" + errorCode.msg); + } } });