Hide user avatar for blocked and unconfirmed users
Compare changes
Files
3- Drew Blessing authored
Avatars can sometimes be used to display spam or other undesirable content for unconfirmed or blocked users. This change hides the user's custom avatar in these cases until they become unblocked or confirmed. Changelog: changed
+ 4
− 1
@@ -35,7 +35,10 @@ def avatar_icon_for_email(email = nil, size = nil, scale = 2, only_path: true)