From 010b0b4241a3c154fd0b29a3e287ae506f4fa6ae 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 5c72689..9232998 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