repair broken 'clear channel' button
This commit is contained in:
1 parent
2ff1a17ade
commit
585f9d2e4e
5 files changed
+23
-1
No files matched your search
@@ -176,7 +176,8 @@ define([
|
||||
$(removeHistory).click(function () {
|
||||
UI.confirm(Messages.contacts_confirmRemoveHistory, function (yes) {
|
||||
if (!yes) { return; }
|
||||
Cryptpad.clearOwnedChannel(data.channel, function (e) {
|
||||
|
||||
messenger.clearOwnedChannel(data.channel, function (e) {
|
||||
if (e) {
|
||||
console.error(e);
|
||||
UI.alert(Messages.contacts_removeHistoryServerError);
|
||||
|
||||
Reference in new issue
Block a user