Fix a bug with stats accumulating. Fix a typo.

This commit is contained in:
Boris Grozev
2015-02-26 10:12:06 +01:00
parent 5b44edb3cc
commit aee7a8e1bd
3 changed files with 17288 additions and 17274 deletions
+17279 -17272
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -342,7 +342,7 @@ function acceptReport(id, type) {
id.substring(0, 20) == "googLibjingleSession")
return false;
if (type == "goodComponent")
if (type == "googComponent")
return false;
return true;
+8 -1
View File
@@ -369,9 +369,15 @@ var XMPP = {
if(!dontSend)
connection.emuc.sendPresence();
},
/**
* Sends 'data' as a log message to the focus. Returns true iff a message
* was sent.
* @param data
* @returns {boolean} true iff a message was sent.
*/
sendLogs: function (data) {
if(!connection.emuc.focusMucJid)
return;
return false;
var deflate = true;
@@ -391,6 +397,7 @@ var XMPP = {
message.up();
connection.send(message);
return true;
},
populateData: function () {
var data = {};