This commit is contained in:
Mathium05
2026-07-27 21:41:08 -05:00
parent 2774e8baf2
commit bb87342b7e
+24
View File
@@ -466,6 +466,30 @@ class Group extends Channel {
group: "dm",
},
);
this.groupcontextmenu.addButton(
() => I18n.channel.mute(),
function () {
this.muteChannel();
},
{
visible: function () {
return !this.muted && this.type !== 4;
},
group: "dm",
},
);
this.groupcontextmenu.addButton(
() => I18n.channel.unmute(),
function () {
this.unmuteChannel();
},
{
visible: function () {
return this.muted;
},
group: "dm",
},
);
this.groupcontextmenu.addSeperator(undefined, "dm");