24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

Revert "mod_privacy: Don't try to look up 'undefined' list"

This reverts commit 4218aecd1c.  The issue
was fixed in a0d3fb3b23 already.
This commit is contained in:
Holger Weiss 2019-07-24 11:29:57 +02:00
parent 4218aecd1c
commit c3c8dffeab

View 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 ->