Never display badges if they are not enabled via feature flag.

This commit is contained in:
Alex Hart committed 2021-10-12 16:38:15 -03:00
1 parent 62fa99e0ee
commit ce9cd132ec
1 file changed
+1 -1
@@ -432,7 +432,7 @@ public class Recipient {
this.systemContactName = details.systemContactName;
this.extras = details.extras;
this.hasGroupsInCommon = details.hasGroupsInCommon;
this.badges = details.badges;
this.badges = FeatureFlags.donorBadges() ? details.badges : Collections.emptyList();
}
public @NonNull RecipientId getId() {