]> granicus.if.org Git - ejabberd/commitdiff
Revert "mod_privacy: Don't try to look up 'undefined' list"
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 24 Jul 2019 09:29:57 +0000 (11:29 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 24 Jul 2019 09:29:57 +0000 (11:29 +0200)
This reverts commit 4218aecd1c7f58207ab17d3cccf2886d5558d62b.  The issue
was fixed in a0d3fb3b2333f5b221d06944509fd7e673bf1cc4 already.

src/mod_privacy.erl

index d54e79f0bb506027456821b318ebf734281ef708..f928c8291f56c9732c5c1e2939aea2cfbe278841 100644 (file)
@@ -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 ->