fix: Remove "Show chatter list" entry from split header menu for non-mods (#5336)
This commit is contained in:
@@ -525,9 +525,12 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
|
||||
|
||||
if (twitchChannel)
|
||||
{
|
||||
moreMenu->addAction(
|
||||
"Show chatter list", this->split_, &Split::showChatterList,
|
||||
h->getDisplaySequence(HotkeyCategory::Split, "openViewerList"));
|
||||
if (twitchChannel->hasModRights())
|
||||
{
|
||||
moreMenu->addAction(
|
||||
"Show chatter list", this->split_, &Split::showChatterList,
|
||||
h->getDisplaySequence(HotkeyCategory::Split, "openViewerList"));
|
||||
}
|
||||
|
||||
moreMenu->addAction("Subscribe", this->split_, &Split::openSubPage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user