This commit is contained in:
aozhiwei 2020-07-01 10:22:28 +08:00
parent 769e40f714
commit e4aa9f14f6

View File

@ -1010,7 +1010,7 @@ void Player::InternalUpdateUserInfo()
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;
auto p = msg.add_user_infos();
TypeConvert::Convert(friend_data->base_data, *p->mutable_base_data());