From 4941674cf740ec8b8feb64cbea414df41917d061 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 27 Feb 2017 14:31:00 +0100 Subject: [PATCH] initialize allowUserFeedback to true if it is not defined --- customize.dist/fsStore.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/customize.dist/fsStore.js b/customize.dist/fsStore.js index a80fa1b70..fbf7a5719 100644 --- a/customize.dist/fsStore.js +++ b/customize.dist/fsStore.js @@ -135,6 +135,11 @@ define([ if (typeof(f) === 'function') { f(void 0, store); } + + if (typeof(proxy.allowUserFeedback) !== 'boolean') { + proxy.allowUserFeedback = true; + } + proxy.on('change', [Cryptpad.displayNameKey], function (o, n, p) { if (typeof(n) !== "string") { return; } Cryptpad.changeDisplayName(n);