mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Fix piefxis import of vCard elements (#2514)
This commit is contained in:
parent
395d2e86bc
commit
f81b49fe44
@ -435,7 +435,7 @@ process_user_el(#xmlel{name = Name, attrs = Attrs, children = Els} = El,
|
|||||||
{<<"query">>, ?NS_PRIVATE} ->
|
{<<"query">>, ?NS_PRIVATE} ->
|
||||||
process_private(xmpp:decode(El), State);
|
process_private(xmpp:decode(El), State);
|
||||||
{<<"vCard">>, ?NS_VCARD} ->
|
{<<"vCard">>, ?NS_VCARD} ->
|
||||||
process_vcard(El, State);
|
process_vcard(xmpp:decode(El), State);
|
||||||
{<<"offline-messages">>, NS} ->
|
{<<"offline-messages">>, NS} ->
|
||||||
Msgs = [xmpp:decode(E, NS, [ignore_els]) || E <- Els],
|
Msgs = [xmpp:decode(E, NS, [ignore_els]) || E <- Els],
|
||||||
process_offline_msgs(Msgs, State);
|
process_offline_msgs(Msgs, State);
|
||||||
|
Loading…
Reference in New Issue
Block a user