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

Commit db011e7

Browse files
committed
Get variable name right
1 parent 9398897 commit db011e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Notifier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ const Notifier = {
256256

257257
// If it's an encrypted event and the type is still 'm.room.encrypted',
258258
// it hasn't yet been decrypted, so wait until it is.
259-
if (event.isBeingDecrypted() || event.isDecryptionFailure()) {
259+
if (ev.isBeingDecrypted() || ev.isDecryptionFailure()) {
260260
this.pendingEncryptedEventIds.push(ev.getId());
261261
// don't let the list fill up indefinitely
262262
while (this.pendingEncryptedEventIds.length > MAX_PENDING_ENCRYPTED) {

0 commit comments

Comments
 (0)