We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa54198 commit d7f6b10Copy full SHA for d7f6b10
WordPressUtils/src/main/java/org/wordpress/android/util/GravatarUtils.java
@@ -7,7 +7,9 @@
7
*/
8
public class GravatarUtils {
9
10
- private static final DefaultImage DEFAULT_GRAVATAR = DefaultImage.MYSTERY_MAN;
+ // by default tell gravatar to respond to non-existent images with a 404 - this means
11
+ // it's up to the caller to catch the 404 and provide a suitable default image
12
+ private static final DefaultImage DEFAULT_GRAVATAR = DefaultImage.STATUS_404;
13
14
public static enum DefaultImage {
15
MYSTERY_MAN,
0 commit comments