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;
|
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 ->
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user