text 添加失败,黑名单已满

This commit is contained in:
aozhiwei 2020-12-24 11:29:26 +08:00
parent 452e9b11d4
commit a39b25a7d6

View File

@ -463,7 +463,7 @@ void Player::_CMFriendBlackList(f8::MsgHdr& hdr, const cs::CMFriendBlackList& ms
void Player::_CMFriendAddBlack(f8::MsgHdr& hdr, const cs::CMFriendAddBlack& msg)
{
if (black_hash_.size() >= MAX_BLACKLIST_NUM) {
ShowErrorMsg("添加失败,黑名单已满");
ShowErrorMsg(TEXT("add_error_blacklist_isfull", "添加失败,黑名单已满"));
return;
}
if (GetBlackListById(msg.user_info().base_data().account_id())) {