Small chat bugfixes.
This commit is contained in:
parent
3c8a5777bd
commit
c4ea70a31a
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Chat < ApplicationModel
|
|||
chat_user = User.find(chat_session.user_id)
|
||||
url = nil
|
||||
if chat_user.image && chat_user.image != 'none'
|
||||
url = "/api/v1/users/image/#{chat_user.image}"
|
||||
url = "#{Setting.get('http_type')}://#{Setting.get('fqdn')}/api/v1/users/image/#{chat_user.image}"
|
||||
end
|
||||
user = {
|
||||
name: chat_user.fullname,
|
||||
|
|
Loading…
Reference in a new issue