fix perm check

This commit is contained in:
MathMan05 committed 2026-02-07 14:33:29 -06:00
1 parent 720af1947e
commit c26b35d2f9
1 file changed
+1 -1
+1 -1
View File
@@ -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",