Return promise

This commit is contained in:
Richard Lewis 2018-03-29 20:37:24 +01:00
parent 9a3f3562e1
commit 93804e80b8

View File

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