chat: default name Anonymous instead of anonymous
This commit is contained in:
parent
543c27a0bc
commit
189c4e2e99
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Sessions::Event::ChatSessionClose < Sessions::Event::ChatBase
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
realname = 'anonymous'
|
realname = 'Anonymous'
|
||||||
if @session && @session['id']
|
if @session && @session['id']
|
||||||
realname = User.find(@session['id']).fullname
|
realname = User.find(@session['id']).fullname
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue