mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Show discourse logo as system user avatar
This commit is contained in:
@@ -340,7 +340,7 @@ class User < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def avatar_template
|
||||
uploaded_avatar_path || User.gravatar_template(email)
|
||||
uploaded_avatar_path || User.gravatar_template(id != -1 ? email : "team@discourse.org")
|
||||
end
|
||||
|
||||
# The following count methods are somewhat slow - definitely don't use them in a loop.
|
||||
|
||||
Reference in New Issue
Block a user