summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-19 18:41:14 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-19 18:41:14 +0300
commit48cbee5972a0e5ee69f9ee2903181dc42df399f6 (patch)
tree17e173a10654009ecd3efb1cd2eca4d347b0361e /protocols/Steam/src/steam_server.cpp
parent30072a1ea2ca98ebfe3c1b057b74768d96ff22b8 (diff)
final code cleaning + version bump
Diffstat (limited to 'protocols/Steam/src/steam_server.cpp')
-rw-r--r--protocols/Steam/src/steam_server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_server.cpp b/protocols/Steam/src/steam_server.cpp
index 91ad4762f9..3efa43764b 100644
--- a/protocols/Steam/src/steam_server.cpp
+++ b/protocols/Steam/src/steam_server.cpp
@@ -51,17 +51,17 @@ void CSteamProto::SendFriendActiveSessions()
/////////////////////////////////////////////////////////////////////////////////////////
-void CSteamProto::SendUserInfoRequest(uint64_t id, bool bRetrieveState)
+void CSteamProto::SendUserInfoRequest(uint64_t id)
{
std::vector<uint64_t> ids;
ids.push_back(id & 0xFFFFFFFFll);
- SendUserInfoRequest(ids, bRetrieveState);
+ SendUserInfoRequest(ids);
}
-void CSteamProto::SendUserInfoRequest(const std::vector<uint64_t> &ids, bool bRetrieveState)
+void CSteamProto::SendUserInfoRequest(const std::vector<uint64_t> &ids)
{
CMsgClientRequestFriendData request;
- request.persona_state_requested = bRetrieveState; request.has_persona_state_requested = true;
+ request.persona_state_requested = -1; request.has_persona_state_requested = true;
request.n_friends = ids.size();
request.friends = (uint64_t*)&*ids.begin();
WSSend(EMsg::ClientRequestFriendData, request);