From 75406a494f3420db0362f3a67996b478d792593d Mon Sep 17 00:00:00 2001 From: rikumiyu Date: Mon, 23 Sep 2024 00:39:11 +0800 Subject: [PATCH] fix: sticker type --- src/clients/matrix.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/clients/matrix.ts b/src/clients/matrix.ts index c2387e7..8be5faf 100644 --- a/src/clients/matrix.ts +++ b/src/clients/matrix.ts @@ -28,7 +28,11 @@ export class MatrixUserBotClient extends EventEmitter implements GenericClient { + if (message.type === 'm.sticker') { + this.handleMessage(roomId, message); + } + }); AutojoinRoomsMixin.setupOnClient(this.bot); this.fetchBotInfo();