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:
parent
4258b99b2b
commit
c31f99937f
@ -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 ->
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user