summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-11-26 11:40:44 +0100
committerRobert Pösel <robyer@seznam.cz>2017-11-26 11:40:44 +0100
commit2e26b2ea0452f80f560973ffdb3698564b0bf3fa (patch)
treec9d6480d67d7b621202f87335c9bfdeb4f66c101 /protocols
parentc059f8821af4a73e652291c31d55778f598bdb45 (diff)
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
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 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)