From 922ba0145ea2bcb030892965724cba3d9278fee5 Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@cervoi.se>
Date: Fri, 13 Nov 2020 23:42:55 +0100
Subject: [PATCH] Fix bridge command to actually allow a power of 50

---
 src/matrixcommandhandler.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/matrixcommandhandler.ts b/src/matrixcommandhandler.ts
index faa7e1c..1394018b 100644
--- a/src/matrixcommandhandler.ts
+++ b/src/matrixcommandhandler.ts
@@ -74,7 +74,7 @@ export class MatrixCommandHandler {
                     selfService: true,
                     //subcat: "m.room.power_levels",
                     // use default power level (50)
-                    subcat: null,
+                    subcat: "null",
                 },
                 run: async ({guildId, channelId}) => {
                     if (roomEntry && roomEntry.remote) {
-- 
GitLab