text 添加失败,黑名单已满
This commit is contained in:
parent
452e9b11d4
commit
a39b25a7d6
@ -463,7 +463,7 @@ void Player::_CMFriendBlackList(f8::MsgHdr& hdr, const cs::CMFriendBlackList& ms
|
|||||||
void Player::_CMFriendAddBlack(f8::MsgHdr& hdr, const cs::CMFriendAddBlack& msg)
|
void Player::_CMFriendAddBlack(f8::MsgHdr& hdr, const cs::CMFriendAddBlack& msg)
|
||||||
{
|
{
|
||||||
if (black_hash_.size() >= MAX_BLACKLIST_NUM) {
|
if (black_hash_.size() >= MAX_BLACKLIST_NUM) {
|
||||||
ShowErrorMsg("添加失败,黑名单已满");
|
ShowErrorMsg(TEXT("add_error_blacklist_isfull", "添加失败,黑名单已满"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (GetBlackListById(msg.user_info().base_data().account_id())) {
|
if (GetBlackListById(msg.user_info().base_data().account_id())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user