Fix a bug with stats accumulating. Fix a typo.

This commit is contained in:
Boris Grozev 2015-02-26 10:03:29 +01:00
parent 5b44edb3cc
commit aee7a8e1bd
3 changed files with 17295 additions and 17281 deletions

File diff suppressed because it is too large Load Diff

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;

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 = {};