From 34cc90bd08e7555071e93e14d22cbbc283a4bd03 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 5 Mar 2019 11:17:31 +0100 Subject: [PATCH] Add feedback --- www/common/common-ui-elements.js | 4 ++++ www/common/outer/userObject.js | 1 + 2 files changed, 5 insertions(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 863b99bb3..0d9841448 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2323,6 +2323,10 @@ define([ if (e) { return void console.error(e); } }); + if (val.expire) { + Feedback.send('EXPIRING_PAD-'+val.expire); + } + $creationContainer.remove(); common.createPad(val, function () { cb(); diff --git a/www/common/outer/userObject.js b/www/common/outer/userObject.js index a246b5f5f..46ae72b3b 100644 --- a/www/common/outer/userObject.js +++ b/www/common/outer/userObject.js @@ -95,6 +95,7 @@ define([ if (!sharedFolder && fd.owners && fd.owners.indexOf(edPublic) !== -1 && channelId) { if (channelId) { ownedRemoved.push(channelId); } + Feedback.send('REMOVE_OWNED_CHANNEL'); removeOwnedChannel(channelId, function (obj) { if (obj && obj.error) { // If the error is that the file is already removed, nothing to