You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Rename uses of function too
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user