Make federated_url_for_address() return the same thing whether a
authorColin Leroy <colin@colino.net>
Sat, 3 May 2014 13:53:53 +0000 (15:53 +0200)
committerColin Leroy <colin@colino.net>
Sat, 3 May 2014 13:53:53 +0000 (15:53 +0200)
MISSING url is cached or not, and let caller choose the default in
this case.

src/plugins/libravatar/libravatar_federation.c

index d35aa9b..f84e629 100644 (file)
@@ -106,7 +106,7 @@ gchar *federated_url_for_address(const gchar *address)
        if (url != NULL) {
                g_free(addr);
                if (!strcmp(url, MISSING)) {
-                       return g_strdup(libravatarprefs.base_url);
+                       return NULL;
                }
                return g_strdup(url);
        }