mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ filter_fields([{SVar, [Val]} | Ds], Match, LServer)
|
||||||
LVal = mod_vcard:string2lower(Val),
|
LVal = mod_vcard:string2lower(Val),
|
||||||
NewMatch = case SVar of
|
NewMatch = case SVar of
|
||||||
<<"user">> ->
|
<<"user">> ->
|
||||||
case gen_mod:get_module_opt(LServer, ?MODULE,
|
case gen_mod:get_module_opt(LServer, mod_vcard,
|
||||||
search_all_hosts) of
|
search_all_hosts) of
|
||||||
true -> Match#vcard_search{luser = make_val(LVal)};
|
true -> Match#vcard_search{luser = make_val(LVal)};
|
||||||
false ->
|
false ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue