feat: setHighlightSounds & openSubscriptionPage split hotkeys (#5856)

This commit is contained in:
Brian
2025-03-03 14:20:09 -05:00
committed by GitHub
parent 34429671ba
commit 8dd19d2d5e
7 changed files with 92 additions and 13 deletions
+5 -2
View File
@@ -109,7 +109,10 @@ std::optional<QString> Settings::matchNickname(const QString &usernameText)
void Settings::mute(const QString &channelName)
{
mutedChannels.append(channelName);
if (!this->isMutedChannel(channelName))
{
this->mutedChannels.append(channelName);
}
}
void Settings::unmute(const QString &channelName)
@@ -134,7 +137,7 @@ bool Settings::toggleMutedChannel(const QString &channelName)
}
else
{
mute(channelName);
this->mutedChannels.append(channelName);
return true;
}
}