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

@@ -559,6 +559,13 @@ define([
});
});
});
sframeChan.on('Q_CONTACTS_CLEAR_OWNED_CHANNEL', function (channel, cb) {
messenger.clearOwnedChannel(channel, function (e) {
cb({
error: e,
});
});
});
messenger.on('message', function (message) {
sframeChan.event('EV_CONTACTS_MESSAGE', message);