|
@@ -369,9 +369,15 @@ var XMPP = {
|
369
|
369
|
if(!dontSend)
|
370
|
370
|
connection.emuc.sendPresence();
|
371
|
371
|
},
|
|
372
|
+ /**
|
|
373
|
+ * Sends 'data' as a log message to the focus. Returns true iff a message
|
|
374
|
+ * was sent.
|
|
375
|
+ * @param data
|
|
376
|
+ * @returns {boolean} true iff a message was sent.
|
|
377
|
+ */
|
372
|
378
|
sendLogs: function (data) {
|
373
|
379
|
if(!connection.emuc.focusMucJid)
|
374
|
|
- return;
|
|
380
|
+ return false;
|
375
|
381
|
|
376
|
382
|
var deflate = true;
|
377
|
383
|
|
|
@@ -391,6 +397,7 @@ var XMPP = {
|
391
|
397
|
message.up();
|
392
|
398
|
|
393
|
399
|
connection.send(message);
|
|
400
|
+ return true;
|
394
|
401
|
},
|
395
|
402
|
populateData: function () {
|
396
|
403
|
var data = {};
|