From 1124c2c24cde3fffa979b5d6e483a70d3cb75063 Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Wed, 31 Jan 2018 13:24:26 +0500 Subject: VKontakte: fix addition EVENTTYPE_AUTHREQUEST events --- protocols/VKontakte/src/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte') 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() : ""); } -- cgit v1.2.3