mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Use username in bot's certificate.
* The default name generated can be weird sometimes.
This commit is contained in:
parent
d82dbd565b
commit
716b0235f9
@ -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…
Reference in New Issue
Block a user