repair broken 'clear channel' button

This commit is contained in:
ansuz
2017-11-21 17:19:35 +01:00
parent 2ff1a17ade
commit 585f9d2e4e
5 changed files with 23 additions and 1 deletions

View File

@@ -633,6 +633,13 @@ define([
});
};
messenger.clearOwnedChannel = function (channel, cb) {
common.clearOwnedChannel(channel, function (e) {
if (e) { return void cb(e); }
cb();
});
};
// TODO listen for changes to your friend list
// emit 'update' events for clients