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

API renaming : compare_jids -> compare

SVN Revision: 2129
This commit is contained in:
Karim Gemayel 2009-06-01 16:49:00 +00:00
parent 4258b99b2b
commit c31f99937f
2 changed files with 2 additions and 2 deletions

View File

@ -1931,7 +1931,7 @@ check_from(El, FromJID) ->
end;
_ ->
%% Matching JID: The stanza is ok
case exmpp_jid:compare_jids(JIDEl, FromJID) of
case exmpp_jid:compare(JIDEl, FromJID) of
true ->
El;
false ->

View File

@ -65,7 +65,7 @@ process_command(From, To, Packet) ->
case Packet#xmlel.name of
'message' ->
case lists:any(fun(J) ->
exmpp_jid:compare_jids(J,From)
exmpp_jid:compare(J,From)
end, get_admin_jids()) of
true ->
Body = exmpp_xml:get_path(