Telegram Web, preconfigured for usage in I2P.
http://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
417 B
22 lines
417 B
11 years ago
|
var helper = require('../helper');
|
||
|
|
||
|
|
||
|
var MultiReporter = function(reporters) {
|
||
|
|
||
|
this.addAdapter = function(adapter) {
|
||
|
reporters.forEach(function(reporter) {
|
||
|
reporter.adapters.push(adapter);
|
||
|
});
|
||
|
};
|
||
|
|
||
|
this.removeAdapter = function(adapter) {
|
||
|
reporters.forEach(function(reporter) {
|
||
|
helper.arrayRemove(reporter.adapters, adapter);
|
||
|
});
|
||
|
};
|
||
|
};
|
||
|
|
||
|
|
||
|
// PUBLISH
|
||
|
module.exports = MultiReporter;
|