summaryrefslogtreecommitdiff
path: root/src/mod_admin_extra.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-20 22:36:32 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-05-20 22:36:32 +0300
commit35d19b32f40a4f6aedecca36c3145ab3013ecf87 (patch)
tree2d724e209978999b79fe69be9d0be679cf4fb559 /src/mod_admin_extra.erl
parentexport_all is not needed here (diff)
Implement cache for mod_privacy/mod_blocking
Diffstat (limited to 'src/mod_admin_extra.erl')
-rw-r--r--src/mod_admin_extra.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mod_admin_extra.erl b/src/mod_admin_extra.erl
index 0b3b007c..fa681f87 100644
--- a/src/mod_admin_extra.erl
+++ b/src/mod_admin_extra.erl
@@ -1485,10 +1485,7 @@ privacy_set(Username, Host, QueryS) ->
SubEl = xmpp:decode(QueryEl),
IQ = #iq{type = set, id = <<"push">>, sub_els = [SubEl],
from = From, to = To},
- ejabberd_hooks:run_fold(privacy_iq_set,
- Host,
- {error, xmpp:err_feature_not_implemented()},
- [IQ, #userlist{}]),
+ mod_privacy:process_iq(IQ),
ok.
%%%