Changes the conference id for callstats API.

This commit is contained in:
hristoterezov 2015-07-17 14:45:30 -05:00
parent 829d8dab16
commit a66459e206
3 changed files with 526 additions and 516 deletions

View File

@ -22,7 +22,7 @@
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
<script src="interface_config.js?v=5"></script>
<script src="libs/app.bundle.js?v=105"></script>
<script src="libs/app.bundle.js?v=106"></script>
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
<link rel="stylesheet" href="css/font.css?v=7"/>
<link rel="stylesheet" href="css/toastr.css?v=1">

File diff suppressed because it is too large Load Diff

View File

@ -17,8 +17,9 @@ var CallStats = {
this.userID = APP.xmpp.myResource();
var roomJid = APP.UI.getRoomName();
this.confID = roomJid? Strophe.getNodeFromJid(roomJid) : null;
var location = window.location;
this.confID = location.protocol + "//" +
location.hostname + location.pathname;
//userID is generated or given by the origin server
callStats.initialize(config.callStatsID,