mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-24 11:40:07 +00:00
fix minor typebox regression
This commit is contained in:
@@ -2588,10 +2588,6 @@ class Channel extends SnowFlake {
|
||||
if (this.curCommand) {
|
||||
this.curCommand.render(TypeBox.box, this);
|
||||
}
|
||||
TypeBox.box.style.setProperty(
|
||||
"--channel-text",
|
||||
JSON.stringify(I18n.channel.typebox(this.shortName)),
|
||||
);
|
||||
|
||||
if (getMessages === undefined) {
|
||||
getMessages = this.type !== 2 || !this.localuser.voiceAllowed;
|
||||
|
||||
@@ -153,6 +153,7 @@ export class TypeBox {
|
||||
for (const file of this.files) {
|
||||
this.addFile(file, false);
|
||||
}
|
||||
this.box.style.setProperty("--channel-text", JSON.stringify(I18n.channel.typebox(c.shortName)));
|
||||
}
|
||||
static changeWrite() {
|
||||
if (!this.localuser?.focusChannel) return;
|
||||
|
||||
Reference in New Issue
Block a user