mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 13:14:58 +08:00
Get variable name right
This commit is contained in:
parent
939889705e
commit
db011e7065
@ -256,7 +256,7 @@ const Notifier = {
|
|||||||
|
|
||||||
// If it's an encrypted event and the type is still 'm.room.encrypted',
|
// If it's an encrypted event and the type is still 'm.room.encrypted',
|
||||||
// it hasn't yet been decrypted, so wait until it is.
|
// it hasn't yet been decrypted, so wait until it is.
|
||||||
if (event.isBeingDecrypted() || event.isDecryptionFailure()) {
|
if (ev.isBeingDecrypted() || ev.isDecryptionFailure()) {
|
||||||
this.pendingEncryptedEventIds.push(ev.getId());
|
this.pendingEncryptedEventIds.push(ev.getId());
|
||||||
// don't let the list fill up indefinitely
|
// don't let the list fill up indefinitely
|
||||||
while (this.pendingEncryptedEventIds.length > MAX_PENDING_ENCRYPTED) {
|
while (this.pendingEncryptedEventIds.length > MAX_PENDING_ENCRYPTED) {
|
||||||
|
Loading…
Reference in New Issue
Block a user