Rename uses of function too
This commit is contained in:
parent
e4a221e42d
commit
fadf264a1b
1 changed files with 2 additions and 2 deletions
|
@ -311,13 +311,13 @@ function waitForUserWidget(widgetId, add) {
|
|||
}
|
||||
}
|
||||
|
||||
if (satisfiesCondition(currentAccountDataEvent)) {
|
||||
if (eventInIntendedState(currentAccountDataEvent)) {
|
||||
resolve();
|
||||
return;
|
||||
}
|
||||
|
||||
function onAccountData(ev) {
|
||||
if (satisfiesCondition(currentAccountDataEvent)) {
|
||||
if (eventInIntendedState(currentAccountDataEvent)) {
|
||||
MatrixClientPeg.get().removeListener('accountData', onAccountData);
|
||||
clearTimeout(timerId);
|
||||
resolve();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue