Roll back broken audio, keep notifications.

This commit is contained in:
Storm Dragon
2026-08-12 00:09:48 -04:00
parent c77d4bac3e
commit 847bab8de1
20 changed files with 243 additions and 1053 deletions
+3 -3
View File
@@ -253,7 +253,7 @@ func (c *Config) findUser(address string, username string) *eUser {
func (c *Config) ToggleMute(u *gumble.User) {
j := c.findUser(u.GetClient().Config.Address, u.Name)
j.LocallyMuted = !j.LocallyMuted
u.SetLocallyMuted(j.LocallyMuted)
u.LocallyMuted = j.LocallyMuted
c.SaveConfig()
}
@@ -331,7 +331,7 @@ func (c *Config) UpdateUser(u *gumble.User) {
j = c.findUser(uc.Config.Address, u.Name)
u.Boost = j.Boost
u.Volume = j.Volume
u.SetLocallyMuted(j.LocallyMuted)
u.LocallyMuted = j.LocallyMuted // Update LocallyMuted state from config
if u.Boost < 1 {
u.Boost = 1
}
@@ -343,7 +343,7 @@ func (c *Config) UpdateConfig(u *gumble.User) {
j = c.findUser(u.GetClient().Config.Address, u.Name)
j.Boost = u.Boost
j.Volume = u.Volume
j.LocallyMuted = u.IsLocallyMuted()
j.LocallyMuted = u.LocallyMuted // Save LocallyMuted state to config
}
func NewConfig(fn *string) *Config {