25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix user_send_packet in mod_privacy; was failing on newly created users

This commit is contained in:
Nathan Bruning 2018-11-28 18:34:16 +01:00
parent 570800a540
commit aa489c5a8b

View File

@ -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}