social_stream-presence 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,8 +14,8 @@
|
|
14
14
|
<script type="text/javascript">
|
15
15
|
|
16
16
|
//Global variables
|
17
|
-
var BOSH_SERVICE = '<%= SocialStream::Presence.bosh_service || root_url + "http-bind" %>';
|
18
|
-
var domain = '<%=SocialStream::Presence.domain%>';
|
17
|
+
var BOSH_SERVICE = '<%= SocialStream::Presence.bosh_service || root_url + "http-bind/" %>';
|
18
|
+
var domain = '<%=SocialStream::Presence.domain || controller.request.host %>';
|
19
19
|
var user_name = '<%=current_user.name%>';
|
20
20
|
var user_slug = '<%=current_user.slug%>';
|
21
21
|
var user_jid = '<%=current_user.slug%>'+"@"+domain;
|