From c26b35d2f90e54fabfe288ab0c6eb420a4a925e7 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sat, 7 Feb 2026 14:33:29 -0600 Subject: [PATCH] fix perm check --- src/webpage/channel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpage/channel.ts b/src/webpage/channel.ts index f026903..65df7bd 100644 --- a/src/webpage/channel.ts +++ b/src/webpage/channel.ts @@ -205,7 +205,7 @@ class Channel extends SnowFlake { }, { visible: function () { - return this.hasPermission("MANAGE_CHANNELS"); + return this.hasPermission("MANAGE_CHANNELS") || this.owner_id === this.localuser.user.id; }, icon: { css: "svg-settings",