From 93804e80b864719bed8a4bc88e502a2effeb3330 Mon Sep 17 00:00:00 2001 From: Richard Lewis Date: Thu, 29 Mar 2018 20:37:24 +0100 Subject: [PATCH] Return promise --- src/utils/widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/widgets.js b/src/utils/widgets.js index edbe78fd58..62f841c9c2 100644 --- a/src/utils/widgets.js +++ b/src/utils/widgets.js @@ -76,7 +76,7 @@ function removeStickerpickerWidgets() { delete userWidgets[key]; } }); - client.setAccountData('m.widgets', userWidgets); + return client.setAccountData('m.widgets', userWidgets); }