summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-08-30 18:32:07 +0200
committerRobert Pösel <robyer@seznam.cz>2017-08-30 18:34:04 +0200
commitde62bd9aed937611d196639eb9f1c52487557d16 (patch)
treea4719319d4d6a4657face443b125395153d474d7 /protocols
parent26d5baa8990499dee021efb1463b186c36a6f656 (diff)
Steam: Hotfix to not show sent messages twice
Note this commit is just temporary workaround as it disables loading (showing) our messages sent from other Steam instances.
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Steam/src/steam_polling.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp
index ee625f735c..49407e4e59 100644
--- a/protocols/Steam/src/steam_polling.cpp
+++ b/protocols/Steam/src/steam_polling.cpp
@@ -24,8 +24,8 @@ void CSteamProto::ParsePollData(JSONNode *data)
node = json_get(item, "type");
ptrW type(json_as_string(node));
- if (!lstrcmpi(type, L"saytext") || !lstrcmpi(type, L"emote") ||
- !lstrcmpi(type, L"my_saytext") || !lstrcmpi(type, L"my_emote"))
+ if (!lstrcmpi(type, L"saytext") || !lstrcmpi(type, L"emote") /*|| // FIXME: Properly fix showing duplicit sent messages
+ !lstrcmpi(type, L"my_saytext") || !lstrcmpi(type, L"my_emote")*/)
{
MCONTACT hContact = FindContact(steamId);
if (!hContact)