mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix user_send_packet in mod_privacy; was failing on newly created users
This commit is contained in:
parent
570800a540
commit
aa489c5a8b
@ -434,7 +434,7 @@ user_send_packet({#iq{type = Type,
|
||||
% Adjust the client's state directly, so the next to-be-processed
|
||||
% packet will take the active list into account.
|
||||
{IQ, State#{privacy_active_list => Active}};
|
||||
true ->
|
||||
_ ->
|
||||
{IQ, State}
|
||||
end;
|
||||
_ -> {IQ, State}
|
||||
|
Loading…
Reference in New Issue
Block a user