修复飘屏弹幕被禁言没提示问题

This commit is contained in:
zlzw 2023-07-06 16:44:07 +08:00
parent 3e91068866
commit 36b85c15f5

View File

@ -250,7 +250,12 @@ public class SocketRyChatUtil {
@Override @Override
public void onError(Message message, RongIMClient.ErrorCode errorCode) { 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);
}
} }
}); });