text 成功添加到黑名单

This commit is contained in:
aozhiwei 2020-12-24 11:30:26 +08:00
parent a39b25a7d6
commit 57926c273c

View File

@ -491,7 +491,7 @@ void Player::_CMFriendAddBlack(f8::MsgHdr& hdr, const cs::CMFriendAddBlack& msg)
black_hash_[p->base_data.account_id] = p; black_hash_[p->base_data.account_id] = p;
InternalRemoveFriend(p->base_data.account_id, true, false); InternalRemoveFriend(p->base_data.account_id, true, false);
MarkDirty(); MarkDirty();
ShowErrorMsg("成功添加到黑名单"); ShowErrorMsg(TEXT("blacklist_add_success", "成功添加到黑名单"));
} else { } else {
if (msg.user_info().base_data().account_id().empty()) { if (msg.user_info().base_data().account_id().empty()) {
return; return;