diff --git a/ChangeLog b/ChangeLog index ef8588e3d..345432ebd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-04-21 Alexey Shchepin + + * src/jd2ejd.erl: Bugfix + 2005-04-20 Alexey Shchepin * src/ejabberd_auth.erl: Added check for domain of registered user diff --git a/src/jd2ejd.erl b/src/jd2ejd.erl index 974b80540..a950f86c7 100644 --- a/src/jd2ejd.erl +++ b/src/jd2ejd.erl @@ -87,8 +87,9 @@ process_xdb(User, Server, {xmlelement, Name, _Attrs, Els}) -> end. -xdb_data(User, Server, El) -> - {xmlelement, _Name, Attrs, _Els} = El, +xdb_data(User, Server, {xmlcdata, _CData}) -> + ok; +xdb_data(User, Server, {xmlelement, _Name, Attrs, _Els} = El) -> From = jlib:make_jid(User, Server, ""), case xml:get_attr_s("xmlns", Attrs) of ?NS_AUTH ->