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; end;
_ -> _ ->
%% Matching JID: The stanza is ok %% Matching JID: The stanza is ok
case exmpp_jid:compare_jids(JIDEl, FromJID) of case exmpp_jid:compare(JIDEl, FromJID) of
true -> true ->
El; El;
false -> false ->

View File

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