summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_polling.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-02-17 04:29:28 +0000
committerRobert Pösel <robyer@seznam.cz>2016-02-17 04:29:28 +0000
commitdf1277bc854e0db5424623890be9a3d74750a03f (patch)
treee55d29c375ba8e175899bf0a65c7631533160876 /protocols/Steam/src/steam_polling.cpp
parent40da8fcc882ff988d14e50d204909b2a3b701418 (diff)
Steam: New option to control showing chat state changes (i.e., user closed chat window); version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@16288 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_polling.cpp')
-rw-r--r--protocols/Steam/src/steam_polling.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp
index c691cd979e..a008c359cb 100644
--- a/protocols/Steam/src/steam_polling.cpp
+++ b/protocols/Steam/src/steam_polling.cpp
@@ -145,6 +145,9 @@ void CSteamProto::ParsePollData(JSONNode *data)
}
else if (!lstrcmpi(type, _T("leftconversation")))
{
+ if (!getBool("ShowChatEvents", true))
+ continue;
+
// chatstates gone event
MCONTACT hContact = FindContact(steamId);
if (hContact)