Fix user widget event type.

Add comments for clarity.
This commit is contained in:
Richard Lewis 2018-04-02 10:02:41 +01:00
parent 557a45e890
commit 11915b0cdf
3 changed files with 7 additions and 2 deletions

View file

@ -64,6 +64,7 @@ function getStickerpickerWidgets() {
/**
* Remove all stickerpicker widgets (stickerpickers are user widgets by nature)
* @return {Promise} Resolves on account data updated
*/
function removeStickerpickerWidgets() {
const client = MatrixClientPeg.get();