summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/poll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r--protocols/ICQ-WIM/src/poll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp
index e2e5fb8796..279e8ce0b2 100644
--- a/protocols/ICQ-WIM/src/poll.cpp
+++ b/protocols/ICQ-WIM/src/poll.cpp
@@ -228,7 +228,7 @@ void CIcqProto::ProcessNotification(const JSONNode &ev)
// we've read/removed some messages from server
if (iOldCount > m_unreadEmails) {
- g_clistApi.pfnRemoveEvent(0, 1);
+ g_clistApi.pfnRemoveEvent(0, ICQ_FAKE_EVENT_ID);
return;
}