Add JID to VcardReceivedEvent

This commit is contained in:
Philipp Hörist 2018-08-19 16:43:30 +02:00
parent 854f8512a4
commit 9e3e6f80bb
1 changed files with 3 additions and 1 deletions

View File

@ -218,7 +218,9 @@ class VCardTemp:
app.nicks[self._account] = vcard['FN'] app.nicks[self._account] = vcard['FN']
app.nec.push_incoming_event( app.nec.push_incoming_event(
VcardReceivedEvent(None, conn=self._con, vcard_dict=vcard)) VcardReceivedEvent(None, conn=self._con,
vcard_dict=vcard,
jid=jid))
callback(jid, resource, room, vcard, expected_sha) callback(jid, resource, room, vcard, expected_sha)