Browse Source

Reports resources as alias and usernames simultaneously to callstats backend.

dev1
damencho 9 years ago
parent
commit
6993a876ca
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      modules/statistics/CallStats.js

+ 4
- 1
modules/statistics/CallStats.js View File

@@ -144,7 +144,10 @@ var CallStats = _try_catch(function(jingleSession, Settings, options) {
144 144
         this.session = jingleSession;
145 145
         this.peerconnection = jingleSession.peerconnection.peerconnection;
146 146
 
147
-        this.userID = Settings.getCallStatsUserName();
147
+        this.userID = {
148
+            userName : Settings.getCallStatsUserName(),
149
+            aliasName : Strophe.getResourceFromJid(jingleSession.room.myroomjid)
150
+        };
148 151
 
149 152
         var location = window.location;
150 153
         // The confID is case sensitive!!!

Loading…
Cancel
Save