summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2018-01-31 13:24:26 +0500
committerElzorFox <elzorfox@ya.ru>2018-01-31 13:24:26 +0500
commit1124c2c24cde3fffa979b5d6e483a70d3cb75063 (patch)
tree2a163e1117d7c319a5098eb0dd1e43e13c91df8a /protocols
parent44d61dcfa666e5d5589fb26dadefcec3421bee1d (diff)
VKontakte: fix addition EVENTTYPE_AUTHREQUEST events
Diffstat (limited to 'protocols')
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 453f886766..98e9020460 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -587,7 +587,7 @@ void CVkProto::DBAddAuthRequest(const MCONTACT hContact, bool added)
dbei.eventType = added ? EVENTTYPE_ADDED : EVENTTYPE_AUTHREQUEST;
dbei.cbBlob = blob.size();
dbei.pBlob = blob;
- db_event_add(0, &dbei);
+ db_event_add(hContact, &dbei);
debugLogA("CVkProto::DBAddAuthRequest %s", blob.get_nick() ? blob.get_nick() : "<null>");
}