Revert "mod_privacy: Don't try to look up 'undefined' list"
This reverts commit4218aecd1c
. The issue was fixed ina0d3fb3b23
already.
This commit is contained in:
parent
4218aecd1c
commit
c3c8dffeab
|
@ -413,8 +413,6 @@ update_c2s_state_with_privacy_list(#iq{type = set,
|
||||||
State) ->
|
State) ->
|
||||||
%% Match a IQ set containing a new active privacy list
|
%% Match a IQ set containing a new active privacy list
|
||||||
case xmpp:get_subtag(IQ, #privacy_query{}) of
|
case xmpp:get_subtag(IQ, #privacy_query{}) of
|
||||||
#privacy_query{active = undefined} ->
|
|
||||||
State;
|
|
||||||
#privacy_query{default = undefined, active = Active} ->
|
#privacy_query{default = undefined, active = Active} ->
|
||||||
case Active of
|
case Active of
|
||||||
none ->
|
none ->
|
||||||
|
|
Loading…
Reference in New Issue