From: Badlop Date: Wed, 11 Jul 2018 09:38:17 +0000 (+0200) Subject: Fix piefxis import of vCard elements (#2514) X-Git-Tag: 18.09~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f81b49fe44ee03dbdd2ab314aa4e32464825946e;p=ejabberd Fix piefxis import of vCard elements (#2514) --- diff --git a/src/ejabberd_piefxis.erl b/src/ejabberd_piefxis.erl index 32828475d..591b8dde0 100644 --- a/src/ejabberd_piefxis.erl +++ b/src/ejabberd_piefxis.erl @@ -435,7 +435,7 @@ process_user_el(#xmlel{name = Name, attrs = Attrs, children = Els} = El, {<<"query">>, ?NS_PRIVATE} -> process_private(xmpp:decode(El), State); {<<"vCard">>, ?NS_VCARD} -> - process_vcard(El, State); + process_vcard(xmpp:decode(El), State); {<<"offline-messages">>, NS} -> Msgs = [xmpp:decode(E, NS, [ignore_els]) || E <- Els], process_offline_msgs(Msgs, State);