summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 34b3f17614..847250b6ef 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -1565,3 +1565,11 @@ int CVkProto::DeleteContact(MCONTACT hContact)
setByte(hContact, "SilentDelete", 1);
return db_delete_contact(hContact);
}
+
+bool CVkProto::IsMessageExist(UINT MsgId)
+{
+ char szMid[40];
+ _itoa(MsgId, szMid, 10);
+
+ return (db_event_getById(m_szModuleName, szMid) != 0);
+} \ No newline at end of file