mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
Merge pull request #4933 from tgxworld/use_username_in_cert
FIX: Use username in bot's certificate.
This commit is contained in:
commit
e7571d1c5d
@ -552,7 +552,7 @@ module DiscourseNarrativeBot
|
||||
private
|
||||
|
||||
def name
|
||||
(@user.name && !@user.name.blank? ? @user.name : @user.username).titleize
|
||||
@user.username.titleize
|
||||
end
|
||||
|
||||
def logo_group(size, width, height)
|
||||
|
Loading…
x
Reference in New Issue
Block a user