From 2e26b2ea0452f80f560973ffdb3698564b0bf3fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 26 Nov 2017 11:40:44 +0100 Subject: Steam: Fix not showing sent messages (reverted from commit de62bd9aed937611d196639eb9f1c52487557d16) This reverts previous hotfix to a change/bug on Steam servers that was reverted/fixed now. Or at least based on this comment: https://forum.miranda-ng.org/index.php?topic=1222.msg20703#msg20703 --- 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 ac768f09f7..aa5a5e2c98 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") /*|| // FIXME: Properly fix showing duplicit sent messages - !lstrcmpi(type, L"my_saytext") || !lstrcmpi(type, L"my_emote")*/) + if (!lstrcmpi(type, L"saytext") || !lstrcmpi(type, L"emote") || + !lstrcmpi(type, L"my_saytext") || !lstrcmpi(type, L"my_emote")) { MCONTACT hContact = FindContact(steamId); if (!hContact) -- cgit v1.2.3