Add JID to VcardReceivedEvent

This commit is contained in:
Philipp Hörist 2018-08-19 16:43:30 +02:00
parent 327865e6fd
commit 6f8ffb131a
1 changed files with 3 additions and 1 deletions

View File

@ -218,7 +218,9 @@ class VCardTemp:
app.nicks[self._account] = vcard['FN']
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)