mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
API renaming : prepd_jid_to_list -> prep_to_list
SVN Revision: 2132
This commit is contained in:
parent
15bc238297
commit
0ace8bda8c
@ -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
|
case catch exmpp_jid:parse(exmpp_xml:get_cdata_as_string(ActivateEl)) of
|
||||||
TargetJID when ?IS_JID(TargetJID), SID /= "",
|
TargetJID when ?IS_JID(TargetJID), SID /= "",
|
||||||
length(SID) =< 128, TargetJID /= InitiatorJID ->
|
length(SID) =< 128, TargetJID /= InitiatorJID ->
|
||||||
Target = exmpp_jid:prepd_jid_to_list(TargetJID),
|
Target = exmpp_jid:prep_to_list(TargetJID),
|
||||||
Initiator = exmpp_jid:prepd_jid_to_list(InitiatorJID),
|
Initiator = exmpp_jid:prep_to_list(InitiatorJID),
|
||||||
SHA1 = sha:sha(SID ++ Initiator ++ Target),
|
SHA1 = sha:sha(SID ++ Initiator ++ Target),
|
||||||
case mod_proxy65_sm:activate_stream(SHA1, InitiatorJID, TargetJID, ServerHost) of
|
case mod_proxy65_sm:activate_stream(SHA1, InitiatorJID, TargetJID, ServerHost) of
|
||||||
ok ->
|
ok ->
|
||||||
|
Loading…
Reference in New Issue
Block a user