Merge pull request #4933 from tgxworld/use_username_in_cert

FIX: Use username in bot's certificate.
This commit is contained in:
Guo Xiang Tan 2017-06-19 07:24:55 +09:00 committed by GitHub
commit e7571d1c5d

View File

@ -552,7 +552,7 @@ module DiscourseNarrativeBot
private private
def name def name
(@user.name && !@user.name.blank? ? @user.name : @user.username).titleize @user.username.titleize
end end
def logo_group(size, width, height) def logo_group(size, width, height)