1
This commit is contained in:
parent
769e40f714
commit
e4aa9f14f6
@ -1010,7 +1010,7 @@ void Player::InternalUpdateUserInfo()
|
|||||||
|
|
||||||
void Player::NotifyUserInfoUpdate(Friend* friend_data)
|
void Player::NotifyUserInfoUpdate(Friend* friend_data)
|
||||||
{
|
{
|
||||||
if (GetFriendById(friend_data->base_data.account_id)) {
|
if (GetFriendById(friend_data->base_data.account_id) || friend_data == &myself) {
|
||||||
cs::SMUserInfoUpdate msg;
|
cs::SMUserInfoUpdate msg;
|
||||||
auto p = msg.add_user_infos();
|
auto p = msg.add_user_infos();
|
||||||
TypeConvert::Convert(friend_data->base_data, *p->mutable_base_data());
|
TypeConvert::Convert(friend_data->base_data, *p->mutable_base_data());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user