mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix binary Host argument
This commit is contained in:
parent
bdea5d3598
commit
7ffe06c77f
@ -514,6 +514,9 @@ get_group_users(Host, Group) ->
|
||||
[]
|
||||
end ++ get_group_explicit_users(Host, Group).
|
||||
|
||||
%% @spec(User::any(), Host::string(), Group::string(), GroupOpts) -> [{Username::binary(), Server::binary()}]
|
||||
get_group_users(User, HostB, Group, GroupOpts) when is_binary(HostB) ->
|
||||
get_group_users(User, binary_to_list(HostB), Group, GroupOpts);
|
||||
get_group_users(_User, Host, Group, GroupOpts) ->
|
||||
case proplists:get_value(all_users, GroupOpts, false) of
|
||||
true ->
|
||||
|
Loading…
Reference in New Issue
Block a user