Start decryption process if needed
This commit is contained in:
parent
454df8947b
commit
0e221ae548
2 changed files with 3 additions and 0 deletions
|
@ -400,6 +400,7 @@ export class StopGapWidget extends EventEmitter {
|
|||
}
|
||||
|
||||
private onEvent = (ev: MatrixEvent) => {
|
||||
MatrixClientPeg.get().decryptEventIfNeeded(ev);
|
||||
if (ev.isBeingDecrypted() || ev.isDecryptionFailure()) return;
|
||||
if (ev.getRoomId() !== this.eventListenerRoomId) return;
|
||||
this.feedEvent(ev);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue