From: Nathan Bruning Date: Wed, 28 Nov 2018 17:34:16 +0000 (+0100) Subject: Fix user_send_packet in mod_privacy; was failing on newly created users X-Git-Tag: 19.08~219^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa489c5a8bac54e7f2fe4b68b42ddfb4d7b82b37;p=ejabberd Fix user_send_packet in mod_privacy; was failing on newly created users --- diff --git a/src/mod_privacy.erl b/src/mod_privacy.erl index 0204e0917..dc52825a1 100644 --- a/src/mod_privacy.erl +++ b/src/mod_privacy.erl @@ -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}