From a3596c8c73cb5f62eb607a253108ca9d330a97ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Thu, 7 Jul 2022 13:01:59 +0200 Subject: [PATCH 1/2] Don't crash with undefined room in `processBeaconEvents()` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/client.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.ts b/src/client.ts index e612fd27b5..c98a49caad 100644 --- a/src/client.ts +++ b/src/client.ts @@ -8947,9 +8947,9 @@ export class MatrixClient extends TypedEventEmitter Date: Mon, 11 Jul 2022 09:46:31 +0200 Subject: [PATCH 2/2] Make `room` optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index c98a49caad..56955fef7b 100644 --- a/src/client.ts +++ b/src/client.ts @@ -8944,7 +8944,7 @@ export class MatrixClient extends TypedEventEmitter