summaryrefslogtreecommitdiff
path: root/plugins/MessageState/src/clist_extra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MessageState/src/clist_extra.cpp')
-rw-r--r--plugins/MessageState/src/clist_extra.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/MessageState/src/clist_extra.cpp b/plugins/MessageState/src/clist_extra.cpp
index 40fcc0d9f0..031c273ea4 100644
--- a/plugins/MessageState/src/clist_extra.cpp
+++ b/plugins/MessageState/src/clist_extra.cpp
@@ -2,17 +2,6 @@
HANDLE hExtraIcon = NULL;
-bool HasUnread(MCONTACT hContact)
-{
- const char *szProto = GetContactProto(hContact);
- if (CheckProtoSupport(szProto))
- {
- return ((GetLastSentMessageTime(hContact) > db_get_dw(hContact, MODULENAME, DBKEY_MESSAGE_READ_TIME, 0)) && db_get_dw(hContact, MODULENAME, DBKEY_MESSAGE_READ_TIME, 0) != 0);
- }
-
- return false;
-}
-
int ExtraIconsApply(WPARAM hContact, LPARAM)
{
if (hContact == NULL) return 0;