summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-01 14:31:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-01 14:31:21 +0300
commitcf24ded29a5769680068cc46b5e99fe576c0efaa (patch)
treec54bf62275e6776f9817c4a9e45fb60c1b6d46d3 /protocols
parentdf13b2870889a7cb8c319fd35d5ff4f1ae4c2fe0 (diff)
fixes #1780 (MessageState doesn't work in metacontacts)
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/server.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index a392baf454..001ada84ca 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -918,14 +918,8 @@ void CIcqProto::ProcessImState(const JSONNode &ev)
CMStringA reqId(it["sendReqId"].as_mstring());
CMStringA msgId(it["histMsgId"].as_mstring());
MCONTACT hContact = CheckOwnMessage(reqId, msgId, false);
- if (hContact) {
+ if (hContact)
CheckLastId(hContact, ev);
-
- if (g_bMessageState) {
- MessageReadData data(time(0), MRD_TYPE_MESSAGETIME);
- CallService(MS_MESSAGESTATE_UPDATE, hContact, (LPARAM)&data);
- }
- }
}
}