1
This commit is contained in:
parent
d1aa10510a
commit
fd200df692
@ -539,6 +539,11 @@ void Player::_SS_IM_FriendDeleteRequest(f8::MsgHdr& hdr, const ss::SS_IM_FriendD
|
||||
f8::MsgHdr* hdr_copy = (f8::MsgHdr*)param.sender.GetUserData();
|
||||
ss::SS_IM_FriendDeleteRequest* msg_copy = (ss::SS_IM_FriendDeleteRequest*)param.param1.GetUserData();
|
||||
|
||||
ss::SS_IM_FriendDeleteResponse respmsg;
|
||||
*respmsg.mutable_context() = msg_copy->context();
|
||||
respmsg.set_target_id(msg_copy->target_id());
|
||||
IMListener::Instance()->SendMsg(hdr_copy->socket_handle, respmsg);
|
||||
|
||||
f8::MsgHdr::Destroy(hdr_copy);
|
||||
delete msg_copy;
|
||||
},
|
||||
@ -965,7 +970,7 @@ void Player::ProcessEventTimerFunc()
|
||||
a8::XParams()
|
||||
.SetSender(myself.base_data.account_id)
|
||||
.SetParam1(curr_max_event_idx_)
|
||||
.SetParam1(last_event_idx_),
|
||||
.SetParam2(last_event_idx_),
|
||||
on_ok,
|
||||
on_error,
|
||||
myself.crc32_code
|
||||
|
Loading…
x
Reference in New Issue
Block a user