]> granicus.if.org Git - ejabberd/commitdiff
Fix user_send_packet in mod_privacy; was failing on newly created users
authorNathan Bruning <nathan@iperity.com>
Wed, 28 Nov 2018 17:34:16 +0000 (18:34 +0100)
committerNathan Bruning <nathan@iperity.com>
Mon, 10 Jun 2019 10:49:39 +0000 (12:49 +0200)
src/mod_privacy.erl

index 0204e09177aed8e87581a245f3e8a1f639d7956a..dc52825a11183e0d1708c7bddc1588b280443f25 100644 (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}