mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Implement cache for mod_privacy/mod_blocking
This commit is contained in:
parent
654d907dcf
commit
35d19b32f4
13 changed files with 718 additions and 994 deletions
|
@ -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.
|
||||
|
||||
%%%
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue