diff --git a/server/imserver/synchelper.cc b/server/imserver/synchelper.cc index 5f5fd88..dc767e4 100644 --- a/server/imserver/synchelper.cc +++ b/server/imserver/synchelper.cc @@ -38,6 +38,7 @@ void SyncHelper::SyncNewFriend(Player* hum, const std::string& target_id) { ss::SS_IM_FriendAgreeRequest* notifymsg = (ss::SS_IM_FriendAgreeRequest*)param.sender.GetUserData(); + SyncHelper::Instance()->SS_IM_FriendAgreeRequest_TimeOut(notifymsg); }, [] (const a8::XParams& param) { @@ -66,6 +67,7 @@ void SyncHelper::SyncDeleteFriend(Player* hum, const std::string& target_id) { ss::SS_IM_FriendDeleteRequest* notifymsg = (ss::SS_IM_FriendDeleteRequest*)param.sender.GetUserData(); + SyncHelper::Instance()->SS_IM_FriendDeleteRequest_TimeOut(notifymsg); }, [] (const a8::XParams& param) { @@ -135,3 +137,13 @@ void SyncHelper::RemovePendingRequest(long long seqid) { pending_request_hash_.erase(seqid); } + +void SyncHelper::SS_IM_FriendAgreeRequest_TimeOut(ss::SS_IM_FriendAgreeRequest* msg) +{ + +} + +void SyncHelper::SS_IM_FriendDeleteRequest_TimeOut(ss::SS_IM_FriendDeleteRequest* msg) +{ + +} diff --git a/server/imserver/synchelper.h b/server/imserver/synchelper.h index 85a8c48..e8b61a9 100644 --- a/server/imserver/synchelper.h +++ b/server/imserver/synchelper.h @@ -2,7 +2,9 @@ namespace ss { + class SS_IM_FriendAgreeRequest; class SS_IM_FriendAgreeResponse; + class SS_IM_FriendDeleteRequest; class SS_IM_FriendDeleteResponse; } @@ -31,6 +33,8 @@ public: private: void RemovePendingRequest(long long seqid); + void SS_IM_FriendAgreeRequest_TimeOut(ss::SS_IM_FriendAgreeRequest* msg); + void SS_IM_FriendDeleteRequest_TimeOut(ss::SS_IM_FriendDeleteRequest* msg); private: template