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

API renaming : prepd_jid_to_list -> prep_to_list

SVN Revision: 2132
This commit is contained in:
Karim Gemayel 2009-06-01 16:53:48 +00:00
parent 15bc238297
commit 0ace8bda8c

View File

@ -163,8 +163,8 @@ process_iq(InitiatorJID, #iq{type = set, payload = SubEl, ns = ?NS_BYTESTREAMS}
case catch exmpp_jid:parse(exmpp_xml:get_cdata_as_string(ActivateEl)) of
TargetJID when ?IS_JID(TargetJID), SID /= "",
length(SID) =< 128, TargetJID /= InitiatorJID ->
Target = exmpp_jid:prepd_jid_to_list(TargetJID),
Initiator = exmpp_jid:prepd_jid_to_list(InitiatorJID),
Target = exmpp_jid:prep_to_list(TargetJID),
Initiator = exmpp_jid:prep_to_list(InitiatorJID),
SHA1 = sha:sha(SID ++ Initiator ++ Target),
case mod_proxy65_sm:activate_stream(SHA1, InitiatorJID, TargetJID, ServerHost) of
ok ->