mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Return promise
This commit is contained in:
parent
9a3f3562e1
commit
93804e80b8
@ -76,7 +76,7 @@ function removeStickerpickerWidgets() {
|
||||
delete userWidgets[key];
|
||||
}
|
||||
});
|
||||
client.setAccountData('m.widgets', userWidgets);
|
||||
return client.setAccountData('m.widgets', userWidgets);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user