def secondary_icon(self, msg, **config):
     if '.git.receive' in msg['topic']:
         email = msg['msg']['commit']['email']
         return gravatar_url_from_email(email)
     elif '.git.lookaside' in msg['topic']:
         username = msg['msg']['agent']
         return gravatar_url(username)
     elif 'agent' in msg['msg']:
         username = msg['msg']['agent']
         return gravatar_url(username)
 def secondary_icon(self, msg, **config):
     full_from = msg["msg"]["msg"]["from"]
     email = _full_email_to_email(full_from)
     return gravatar_url_from_email(email)
 def secondary_icon(self, msg, **config):
     full_from = msg['msg']['msg']['from']
     email = _full_email_to_email(full_from)
     return gravatar_url_from_email(email)
 def secondary_icon(self, msg, **config):
     user, is_fas = self._get_user(msg, **config)
     if is_fas:
         return gravatar_url(user)
     else:
         return gravatar_url_from_email(user)
 def secondary_icon(self, msg, **config):
     user, is_fas = self._get_user(msg, **config)
     if is_fas:
         return gravatar_url(user)
     else:
         return gravatar_url_from_email(user)