Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit fadf264

Browse files
committed
Rename uses of function too
1 parent e4a221e commit fadf264

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ScalarMessaging.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@ function waitForUserWidget(widgetId, add) {
311311
}
312312
}
313313

314-
if (satisfiesCondition(currentAccountDataEvent)) {
314+
if (eventInIntendedState(currentAccountDataEvent)) {
315315
resolve();
316316
return;
317317
}
318318

319319
function onAccountData(ev) {
320-
if (satisfiesCondition(currentAccountDataEvent)) {
320+
if (eventInIntendedState(currentAccountDataEvent)) {
321321
MatrixClientPeg.get().removeListener('accountData', onAccountData);
322322
clearTimeout(timerId);
323323
resolve();

0 commit comments

Comments
 (0)