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