Return promise

pull/21833/head
Richard Lewis 2018-03-29 20:37:24 +01:00
parent 9a3f3562e1
commit 93804e80b8
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ function removeStickerpickerWidgets() {
delete userWidgets[key];
}
});
client.setAccountData('m.widgets', userWidgets);
return client.setAccountData('m.widgets', userWidgets);
}