diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-09-19 13:44:36 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-09-19 13:45:19 +0500 |
commit | 73b122d495760172d7f380d783d17e1b36212282 (patch) | |
tree | cd4634fe9da43e16aef01ef1b615274a9fec542f /protocols/VKontakte/src/misc.cpp | |
parent | 7b91e481c58fdc8bca6619e3665bc1ded40b0200 (diff) |
VKontakte:
add removing from friendlist and clear server history on delete from Miranda clist
version bump
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 6b7f12dad1..8821dad4fb 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -1515,3 +1515,8 @@ void CVkProto::AddVkDeactivateEvent(MCONTACT hContact, CMStringW& wszType) db_event_add(hContact, &dbei);
}
+int CVkProto::DeleteContact(MCONTACT hContact)
+{
+ setByte(hContact, "SilentDelete", 1);
+ return db_delete_contact(hContact);
+}
|