mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Fix search for User in vjud
See https://stackoverflow.com/questions/51478247/ejabberd-search-module-failed-to-handle-the-query
This commit is contained in:
parent
6dc452e7f5
commit
1be2112634
@ -192,7 +192,7 @@ filter_fields([{SVar, [Val]} | Ds], Match, LServer)
|
||||
LVal = mod_vcard:string2lower(Val),
|
||||
NewMatch = case SVar of
|
||||
<<"user">> ->
|
||||
case gen_mod:get_module_opt(LServer, ?MODULE,
|
||||
case gen_mod:get_module_opt(LServer, mod_vcard,
|
||||
search_all_hosts) of
|
||||
true -> Match#vcard_search{luser = make_val(LVal)};
|
||||
false ->
|
||||
|
Loading…
Reference in New Issue
Block a user