mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix vCard search by User when using Mnesia
Reported in https://stackoverflow.com/questions/63499864/how-to-search-registered-user-on-ejabberd-server-from-client-side-using-smack-li
This commit is contained in:
parent
65be619907
commit
92913389a5
@ -9,5 +9,5 @@
|
|||||||
search_all_hosts(Opts) when is_map(Opts) ->
|
search_all_hosts(Opts) when is_map(Opts) ->
|
||||||
gen_mod:get_opt(search_all_hosts, Opts);
|
gen_mod:get_opt(search_all_hosts, Opts);
|
||||||
search_all_hosts(Host) ->
|
search_all_hosts(Host) ->
|
||||||
gen_mod:get_module_opt(Host, mod_vcard_mnesia, search_all_hosts).
|
gen_mod:get_module_opt(Host, mod_vcard, search_all_hosts).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user