aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2019-07-24 11:29:57 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2019-07-24 11:29:57 +0200
commitc3c8dffeabd5d8f040b95bbf551ac452cd375cf9 (patch)
tree5e6885425a48e4ce9da48fc955a623ce4d659b2e /src
parentmod_privacy: Don't try to look up 'undefined' list (diff)
Revert "mod_privacy: Don't try to look up 'undefined' list"
This reverts commit 4218aecd1c7f58207ab17d3cccf2886d5558d62b. The issue was fixed in a0d3fb3b2333f5b221d06944509fd7e673bf1cc4 already.
Diffstat (limited to 'src')
-rw-r--r--src/mod_privacy.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mod_privacy.erl b/src/mod_privacy.erl
index d54e79f0b..f928c8291 100644
--- a/src/mod_privacy.erl
+++ b/src/mod_privacy.erl
@@ -413,8 +413,6 @@ update_c2s_state_with_privacy_list(#iq{type = set,
State) ->
%% Match a IQ set containing a new active privacy list
case xmpp:get_subtag(IQ, #privacy_query{}) of
- #privacy_query{active = undefined} ->
- State;
#privacy_query{default = undefined, active = Active} ->
case Active of
none ->