25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Replace jlib:iq_to_xml/1 by exmpp_iq:iq_to_xmlel/1.

PR:		EJABP-1

SVN Revision: 1622
This commit is contained in:
Jean-Sébastien Pédron 2008-10-10 14:38:52 +00:00
parent 285b3858dd
commit 5224a796cc
2 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,9 @@
* src/ejabberd_auth_internal.erl: Replace jlib:*prep/1 by * src/ejabberd_auth_internal.erl: Replace jlib:*prep/1 by
exmpp_stringprep:*prep/1 and change the error handling. exmpp_stringprep:*prep/1 and change the error handling.
* src/mod_vcard_odbc.erl (do_route/4): Replace jlib:iq_to_xml/1 by
exmpp_iq:iq_to_xmlel/1.
2008-10-09 Jean-Sébastien Pédron <js.pedron@meetic-corp.com> 2008-10-09 Jean-Sébastien Pédron <js.pedron@meetic-corp.com>
* src/ejabberd_c2s.erl: Fix handling of unauthenticated stanzas which * src/ejabberd_c2s.erl: Fix handling of unauthenticated stanzas which

View File

@ -317,7 +317,7 @@ do_route(ServerHost, From, To, Packet) ->
ResIQ = exmpp_iq:result(Packet, ResIQ = exmpp_iq:result(Packet,
Result), Result),
ejabberd_router:route( ejabberd_router:route(
To, From, jlib:iq_to_xml(ResIQ)) To, From, exmpp_iq:iq_to_xmlel(ResIQ))
end end
end; end;
{get, ?NS_SEARCH} -> {get, ?NS_SEARCH} ->