summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-09 17:08:21 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-09 17:08:21 +0000
commit4813e22b08398091946738cd324d73455f9b5b43 (patch)
tree6301486f5d31740c472ffe94b4e0412a845a18e3 /protocols/Steam/src/steam_proto.cpp
parent061cf8a12c07aecc4526840a59ba0135f43b2fca (diff)
Steam: Fix showing xstatus icon in contact list (step 2)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11301 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_proto.cpp')
-rw-r--r--protocols/Steam/src/steam_proto.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp
index bd255c5e10..1cd0193702 100644
--- a/protocols/Steam/src/steam_proto.cpp
+++ b/protocols/Steam/src/steam_proto.cpp
@@ -58,9 +58,10 @@ CSteamProto::CSteamProto(const char* protoName, const TCHAR* userName) :
CreateProtoService(PS_GETAVATARCAPS, &CSteamProto::GetAvatarCaps);
CreateProtoService(PS_GETMYAVATART, &CSteamProto::GetMyAvatar);
// custom status API
- CreateProtoService(PS_GETCUSTOMSTATUSEX, &CSteamProto::GetXStatusEx);
- CreateProtoService(PS_GETCUSTOMSTATUSICON, &CSteamProto::GetXStatusIcon);
- CreateProtoService(PS_GETADVANCEDSTATUSICON, &CSteamProto::RequestAdvStatusIconIdx);
+ CreateProtoService(PS_GETCUSTOMSTATUSEX, &CSteamProto::OnGetXStatusEx);
+ CreateProtoService(PS_GETCUSTOMSTATUSICON, &CSteamProto::OnGetXStatusIcon);
+ CreateProtoService(PS_GETADVANCEDSTATUSICON, &CSteamProto::OnRequestAdvStatusIconIdx);
+ HookEvent(ME_SKIN2_ICONSCHANGED, OnReloadIcons);
}
CSteamProto::~CSteamProto()