This commit is contained in:
aozhiwei 2020-07-02 10:34:22 +08:00
parent ac7ade2958
commit 8f5796e3ae

View File

@ -116,6 +116,7 @@ void PlayerMgr::_SS_IM_OnUserOffline(f8::MsgHdr& hdr, const ss::SS_IM_OnUserOffl
void PlayerMgr::_SS_IM_QueryUserOnlineState(f8::MsgHdr& hdr, const ss::SS_IM_QueryUserOnlineState& msg)
{
ss::SS_IM_PushUserOnlineState respmsg;
*respmsg.mutable_context() = msg.context();
for (auto& account_id : msg.account_ids()) {
Player* hum = GetPlayerByAccountId(account_id);
if (hum) {