Permalink
Browse files

Fix Gravatar URL's by using the lowercase email address

  • Loading branch information...
1 parent e8a2235 commit afbdb35bda395a2828873838791fce8277d89de4 Pieter de Bie committed with kballard Mar 16, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 CommitsController.rb
View
@@ -23,7 +23,7 @@ def awakeFromNib
@active_commit = nil
@branch = :master
@icons = Hash.new do |hash, email|
- gravatar = NSURL.URLWithString("http://www.gravatar.com/avatar.php?gravatar_id=#{MD5.hexdigest(email)}&size=36")
+ gravatar = NSURL.URLWithString("http://www.gravatar.com/avatar.php?gravatar_id=#{MD5.hexdigest(email.downcase)}&size=36")
hash[email] = NSImage.alloc.initWithContentsOfURL(gravatar)
end

0 comments on commit afbdb35

Please sign in to comment.