summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/Steam/friend_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/Steam/friend_list.h')
-rw-r--r--protocols/Steam/src/Steam/friend_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/Steam/friend_list.h b/protocols/Steam/src/Steam/friend_list.h
index f13fe6c56c..feed63f706 100644
--- a/protocols/Steam/src/Steam/friend_list.h
+++ b/protocols/Steam/src/Steam/friend_list.h
@@ -6,12 +6,12 @@ namespace SteamWebApi
class GetFriendListRequest : public HttpsGetRequest
{
public:
- GetFriendListRequest(const char *token, const char *steamId) :
+ GetFriendListRequest(const char *token, const char *steamId, const char *relationship = "friend,ignoredfriend,requestrecipient") :
HttpsGetRequest(STEAM_API_URL "/ISteamUserOAuth/GetFriendList/v0001")
{
AddParameter("access_token", token);
AddParameter("steamid", steamId);
- AddParameter("relationship=friend,ignoredfriend,requestrecipient");
+ AddParameter("relationship", relationship);
}
};