diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index 3b8756ecb..3d9fbcfad 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -48,10 +48,10 @@ namespace { MessageParseArgs args; TwitchMessageBuilder builder(channel.get(), privMsg, args); + builder.message().flags.set(MessageFlag::Disabled); + if (!builder.isIgnored()) - { messages.push_back(builder.build()); - } } return messages; diff --git a/src/widgets/splits/SplitInput.cpp b/src/widgets/splits/SplitInput.cpp index 714c261a2..de7b734b5 100644 --- a/src/widgets/splits/SplitInput.cpp +++ b/src/widgets/splits/SplitInput.cpp @@ -188,9 +188,7 @@ void SplitInput::installKeyPressedEvent() { auto c = this->split_->getChannel(); if (c == nullptr) - { return; - } QString message = ui_.textEdit->toPlainText(); @@ -202,7 +200,9 @@ void SplitInput::installKeyPressedEvent() if ((this->prevMsg_.isEmpty() || !this->prevMsg_.endsWith(message)) && !message.trimmed().isEmpty()) + { this->prevMsg_.append(message); + } event->accept(); if (!(event->modifiers() == Qt::ControlModifier))