From: Holger Weiss Date: Wed, 24 Jul 2019 09:29:57 +0000 (+0200) Subject: Revert "mod_privacy: Don't try to look up 'undefined' list" X-Git-Tag: 19.08~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3c8dffeabd5d8f040b95bbf551ac452cd375cf9;p=ejabberd Revert "mod_privacy: Don't try to look up 'undefined' list" This reverts commit 4218aecd1c7f58207ab17d3cccf2886d5558d62b. The issue was fixed in a0d3fb3b2333f5b221d06944509fd7e673bf1cc4 already. --- 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 ->