summaryrefslogtreecommitdiff
path: root/src/ejabberd_piefxis.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-10-22 13:01:45 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-10-22 13:01:45 +0300
commitf6236d456d599544baed11d51c3e6d7ef7e459eb (patch)
treed579a9d63588b8042646b2001c14b2ad82028f80 /src/ejabberd_piefxis.erl
parentAdd more MUC tests (diff)
Add more tests for privacy lists and blocking command
Diffstat (limited to 'src/ejabberd_piefxis.erl')
-rw-r--r--src/ejabberd_piefxis.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_piefxis.erl b/src/ejabberd_piefxis.erl
index 5e6e1bf5..0e79c991 100644
--- a/src/ejabberd_piefxis.erl
+++ b/src/ejabberd_piefxis.erl
@@ -486,7 +486,7 @@ process_privacy(#privacy_query{lists = Lists,
from = JID, to = JID, sub_els = [PrivacyQuery]},
Txt = <<"No module is handling this query">>,
Error = {error, xmpp:err_feature_not_implemented(Txt, ?MYLANG)},
- case mod_privacy:process_iq_set(Error, IQ) of
+ case mod_privacy:process_iq_set(Error, IQ, #userlist{}) of
{error, #stanza_error{reason = Reason}} = Err ->
if Reason == 'item-not-found', Lists == [],
Active == undefined, Default /= undefined ->