Kaynağa Gözat

Reports resources as alias and usernames simultaneously to callstats backend.

master
damencho 8 yıl önce
ebeveyn
işleme
6993a876ca
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. 4
    1
      modules/statistics/CallStats.js

+ 4
- 1
modules/statistics/CallStats.js Dosyayı Görüntüle

@@ -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…
İptal
Kaydet