social_stream-presence 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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;
|