clear the list of joined/parted users

This commit is contained in:
fourtf 2018-05-27 13:37:49 +02:00
parent 0fed9ca5d2
commit 9fc791a440
2 changed files with 8 additions and 4 deletions

View file

@ -232,6 +232,7 @@ void TwitchChannel::addJoinedUser(const QString &user)
this->addMessage(messages::Message::createSystemMessage("Users joined: " +
this->joinedUsers.join(", ")));
this->joinedUsers.clear();
this->joinedUsersMergeQueued = false;
});
}
@ -258,6 +259,7 @@ void TwitchChannel::addPartedUser(const QString &user)
this->addMessage(messages::Message::createSystemMessage("Users parted: " +
this->partedUsers.join(", ")));
this->partedUsers.clear();
this->partedUsersMergeQueued = false;
});

View file

@ -34,10 +34,12 @@ BehaviourPage::BehaviourPage()
{
form->addRow("Window:", this->createCheckBox(WINDOW_TOPMOST, app->settings->windowTopMost));
form->addRow("Messages:", this->createCheckBox(INPUT_EMPTY, app->settings->hideEmptyInput));
form->addRow("", this->createCheckBox("Show which users joined the channel",
app->settings->showJoins));
form->addRow("", this->createCheckBox("Show which users parted the channel",
app->settings->showParts));
form->addRow(
"", this->createCheckBox("Show which users joined the channel (up to 1000 chatters)",
app->settings->showJoins));
form->addRow(
"", this->createCheckBox("Show which users parted the channel (up to 1000 chatters)",
app->settings->showParts));
form->addRow("Pause chat:",
this->createCheckBox(PAUSE_HOVERING, app->settings->pauseChatHover));