Fall back to author names in gravatars (#482)

master
Marcin Kurczewski 5 years ago committed by Jelmer Vernooij
parent 4944d595f6
commit 9eaaad4775

@ -815,7 +815,7 @@ class API(object):
if not self.conf.getboolean('gravatar'):
return item
email = item['email'] or ""
email = item['email'] or item['author'] or ''
email_md5_hash = md5(email)
gravatar_url = self.conf.get('gravatar-url')

Loading…
Cancel
Save