Commit 64f8e3a7fc269a29a759fac741499de9fb3b9664
Committed by
Rodrigo Souto
1 parent
80008f7c
Exists in
master
and in
29 other branches
Fix bosh service url
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/views/shared/logged_in/xmpp_chat.html.erb
... | ... | @@ -12,6 +12,7 @@ |
12 | 12 | var $own_name = '<%= user.name %>'; |
13 | 13 | var $starting_chat_notice = '<%= _("starting chat with %{name}") %>'; |
14 | 14 | var $muc_domain = '<%= "conference.#{environment.default_hostname}" %>'; |
15 | + var $bosh_service = '//<%= environment.default_hostname %>/http-bind'; | |
15 | 16 | var $user_unavailable_error = '<%= _("<strong>ooops!</strong> The message could not be sent because the user is not online") %>'; |
16 | 17 | var $update_presence_status_every = <%= User.expires_chat_status_every.minutes %>; |
17 | 18 | </script> | ... | ... |
public/javascripts/chat.js