This commit is contained in:
aozhiwei 2020-06-24 21:56:37 +08:00
parent 88bceb2c78
commit 6d58cfc046

View File

@ -540,6 +540,7 @@ void Player::_SS_IM_FriendDeleteRequest(f8::MsgHdr& hdr, const ss::SS_IM_FriendD
});
#endif
RemoveFriend(msg.context().user_info().base_data().account_id(), false);
if (msg.flag() == 1) {
a8::Timer::Instance()->AddDeadLineTimerAndAttach
(
1000 * 2,
@ -562,6 +563,7 @@ void Player::_SS_IM_FriendDeleteRequest(f8::MsgHdr& hdr, const ss::SS_IM_FriendD
&timer_attacher.timer_list_
);
}
}
f8::MsgHdr* hdr_copy = hdr.Clone();
ss::SS_IM_FriendDeleteRequest* msg_copy = new ss::SS_IM_FriendDeleteRequest;
*msg_copy = msg;