remove some extraneous logs that were used for debugging
parent
3086eb45c5
commit
a79a5f6a2d
|
@ -798,7 +798,6 @@ var factory = function (Util, Hash, CPNetflux, Sortify, nThen, Crypto) {
|
|||
return void console.error(err);
|
||||
}
|
||||
metadata = ref.internal.metadata = (data && data[0]) || undefined;
|
||||
console.log("TEAM_METADATA", metadata);
|
||||
});
|
||||
}).nThen(function (w) {
|
||||
if (!config.keys.teamEdPublic && metadata && metadata.validateKey) {
|
||||
|
|
|
@ -144,7 +144,6 @@ define([
|
|||
|
||||
var onMessage = function (data, cb) {
|
||||
// data = { type: 'type', content: {msg: 'msg', hash: 'hash'} }
|
||||
console.debug(data.type, data.content);
|
||||
pushMessage(data);
|
||||
if (data.content && typeof (data.content.getFormatText) === "function") {
|
||||
var text = $('<div>').html(data.content.getFormatText()).text();
|
||||
|
@ -188,7 +187,6 @@ define([
|
|||
onMessageHandlers.push(function (data, el) {
|
||||
var type = data.type;
|
||||
if (types.indexOf(type) === -1 && !(teams && /^team-/.test(type))) { return; }
|
||||
console.log('okokok');
|
||||
cfg.onMessage(data, el);
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1027,7 +1027,6 @@ MessengerUI, Messages) {
|
|||
|
||||
Common.mailbox.subscribe(['notifications', 'team'], {
|
||||
onMessage: function (data, el) {
|
||||
console.log(data, el, div);
|
||||
if (el) {
|
||||
$(div).prepend(el);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue