summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-02-29 21:32:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-02-29 21:32:45 +0300
commitf0173fd8343e7f1469b40ea8372f6b951846f63b (patch)
tree05a775d2c18d8eb43d7172bd4e13203d75e83e0a /protocols/ICQ-WIM/src
parent5792d59c3ed577096556b744a51bb375e59c325f (diff)
MessageState: rewritten from scratch to work
Diffstat (limited to 'protocols/ICQ-WIM/src')
-rw-r--r--protocols/ICQ-WIM/src/poll.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp
index 4331ebe8c9..2fa3e7571c 100644
--- a/protocols/ICQ-WIM/src/poll.cpp
+++ b/protocols/ICQ-WIM/src/poll.cpp
@@ -217,8 +217,7 @@ void CIcqProto::ProcessHistData(const JSONNode &ev)
if (srvRemoteRead > lastRemoteRead) {
setId(hContact, DB_KEY_REMOTEREAD, srvRemoteRead);
- MessageReadData data(time(0), MRD_TYPE_READTIME);
- CallService(MS_MESSAGESTATE_UPDATE, hContact, (LPARAM)&data);
+ CallService(MS_MESSAGESTATE_UPDATE, hContact, MRD_TYPE_READ);
}
}
}