新增被禁言的提示
This commit is contained in:
parent
f3ff37aea7
commit
abbb8c524c
@ -132,8 +132,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());
|
Log.e("tx", "aaa" + errorCode.toString());
|
||||||
|
if (errorCode.code == 23408) {
|
||||||
|
ToastUtil.show(R.string.live_ban_tip);
|
||||||
|
} else {
|
||||||
ToastUtil.show(errorCode.code + ":" + errorCode.msg);
|
ToastUtil.show(errorCode.code + ":" + errorCode.msg);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -92,4 +92,5 @@
|
|||||||
<string name="live_anchor_edit_call_me_not_call_info_toash">Please turn on at least one contact information</string>
|
<string name="live_anchor_edit_call_me_not_call_info_toash">Please turn on at least one contact information</string>
|
||||||
<string name="minute">Minute</string>
|
<string name="minute">Minute</string>
|
||||||
<string name="live_setting_silence_title">Please select</string>
|
<string name="live_setting_silence_title">Please select</string>
|
||||||
|
<string name="live_ban_tip">You have been banned</string>
|
||||||
</resources>
|
</resources>
|
@ -90,4 +90,5 @@
|
|||||||
<string name="dialog_live_mailbox_title">信件欄</string>
|
<string name="dialog_live_mailbox_title">信件欄</string>
|
||||||
<string name="minute">分鐘</string>
|
<string name="minute">分鐘</string>
|
||||||
<string name="live_setting_silence_title">請選擇禁言時間</string>
|
<string name="live_setting_silence_title">請選擇禁言時間</string>
|
||||||
|
<string name="live_ban_tip">您已被禁言</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user