mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 19:22:27 +00:00
fix perm check
This commit is contained in:
1 parent
720af1947e
commit
c26b35d2f9
1 file changed
+1
-1
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user