From aa489c5a8bac54e7f2fe4b68b42ddfb4d7b82b37 Mon Sep 17 00:00:00 2001 From: Nathan Bruning Date: Wed, 28 Nov 2018 18:34:16 +0100 Subject: [PATCH] Fix user_send_packet in mod_privacy; was failing on newly created users --- src/mod_privacy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}