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); + } } });