summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-08 23:54:56 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-08 23:54:56 +0000
commit163ce5127e5c8244bccbdae72107ad101f70575f (patch)
treeb6ebb73ec616fdbf24a9b07c267b8b22981b1f78 /protocols/Steam/src/steam_proto.cpp
parente295e68b9d9783ad1caebdc99d1fca1fd028f00b (diff)
Steam: typo
git-svn-id: http://svn.miranda-ng.org/main/trunk@11294 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r--protocols/Steam/src/steam_proto.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp
index bd54e140f7..f9ef530e79 100644
--- a/protocols/Steam/src/steam_proto.cpp
+++ b/protocols/Steam/src/steam_proto.cpp
@@ -166,6 +166,17 @@ int __cdecl CSteamProto::AuthRequest(MCONTACT hContact, const TCHAR* szMessage)
ptrA steamId(getStringA("SteamID"));
ptrA who(getStringA(hContact, "SteamID"));
+ /*
+ posilame: (kdyz my zadame)
+ sessionID MjYzNDM4NDgw
+ steamid 76561198166125402
+ accept_invite 0
+
+ pri uspesnem pozadavku vrati: {"invited":["76561198166125402"],"success":1}
+ kdyz nas ignoruje: {"failed_invites":["76561198166125402"],"failed_invites_result":[41],"success":1}
+
+ */
+
PushRequest(
new SteamWebApi::AddFriendRequest(token, sessionId, steamId, who),
&CSteamProto::OnFriendAdded,
@@ -208,7 +219,7 @@ DWORD_PTR __cdecl CSteamProto:: GetCaps(int type, MCONTACT hContact)
case PFLAGNUM_4:
return PF4_AVATARS | PF4_NOCUSTOMAUTH | PF4_NOAUTHDENYREASON | PF4_FORCEAUTH | PF4_FORCEADDED | PF4_IMSENDUTF | PF4_SUPPORTIDLE;// | PF4_IMSENDOFFLINE | PF4_SUPPORTTYPING;
case PFLAGNUM_5:
- return PF2_SHORTAWAY | PF2_LONGAWAY | PF2_HEAVYDND | PF2_OUTTOLUNCH | PF2_FREEFORCHAT;
+ return PF2_SHORTAWAY | PF2_LONGAWAY | PF2_HEAVYDND | PF2_OUTTOLUNCH | PF2_FREECHAT;
case PFLAG_UNIQUEIDTEXT:
return (DWORD_PTR)Translate("SteamID");
case PFLAG_UNIQUEIDSETTING: