1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 09:49:18 +02: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}