From de62bd9aed937611d196639eb9f1c52487557d16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 30 Aug 2017 18:32:07 +0200 Subject: 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. --- protocols/Steam/src/steam_polling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') 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) -- cgit v1.2.3