something (#154)

* don`t notify if not ic channels

* allow all jobs to admin

* and i can give it all to you BABY

* fix cringers

* нерф лично для виктории мяукиной

* some tweaks + wonderbox update
This commit is contained in:
rhailrake
2023-06-07 22:06:21 +06:00
committed by Aviu00
parent 11c26811fa
commit 65a471cda8
9 changed files with 4035 additions and 3472 deletions

View File

@@ -172,7 +172,15 @@ public partial class ChatBox : UIWidget
_controller.UpdateSelectedChannel(this);
// Warn typing indicator about change
_controller.NotifyChatTextChange();
if (IsValidChannel())
{
_controller.NotifyChatTextChange();
}
}
private bool IsValidChannel()
{
return SelectedChannel is not (ChatSelectChannel.Admin or ChatSelectChannel.Dead or ChatSelectChannel.OOC or ChatSelectChannel.LOOC);
}
protected override void Dispose(bool disposing)