diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-01 16:15:50 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-01 16:15:50 +0000 |
commit | 32784bce1fa5e4270e2ad6293398f170a41400bd (patch) | |
tree | 53d642f9f31d2f7260c33128d923a8d8a80ba91f /protocols/Steam | |
parent | 2e5502b7b902fad22773937890654791bdf1e1ad (diff) |
Steam: Routing for unsupported global statuses
git-svn-id: http://svn.miranda-ng.org/main/trunk@11201 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 8941a73f74..850cf7e5f0 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -314,6 +314,17 @@ int __cdecl CSteamProto::SetApparentMode(MCONTACT hContact, int mode) { return 0 int CSteamProto::SetStatus(int new_status)
{
+ // Routing statuses not supported by Steam
+ switch (new_status)
+ {
+ case ID_STATUS_OFFLINE:
+ break;
+
+ default:
+ new_status = ID_STATUS_ONLINE;
+ break;
+ }
+
if (new_status == m_iDesiredStatus)
return 0;
|