Remove Debug Output In Many Different Places (#1607)

* Application.cpp: Remove whisper debug output

* TwitchAccount.cpp: Remove AutoMod debug output

* BaseWindow.cpp: Remove mouse tracking debug output

* RunGui.cpp: Remove debug output for cleared cache items

* Notebook.cpp: Remove debug output for selected widgets

* LimitedQueue.hpp: Remove commented debug output

* IrcMessageHandler.cpp: Remove debug output when receiving whispers

* UserInfoPopup.cpp: Remove user name debug output

* ChannelView.cpp: Remove debug output when clicking a message

* Image.cpp: Remove commented debug output

* AttachedWindow.cpp: Remove commented debug output

* SplitOverlay.cpp: Remove commented debug output

* TwitchMessageBuilder.cpp: Remove debug output for highlights

* TwitchMessageBuilder.cpp: Remove debug output for blocked messages

* PubsubClient.cpp: Remove debug output on PubSub::listen

* PubsubClient.cpp: Remove debug output on PubSub::tryListen

* IncognitoBrowser.cpp: Remove debug output of browser command

* NativeMessaging.cpp: Remove debug output of message
This commit is contained in:
Leon Richardt
2020-03-19 18:06:21 +01:00
committed by GitHub
parent 881c8892cf
commit 17aa3f71cd
16 changed files with 1 additions and 47 deletions
@@ -451,7 +451,6 @@ void IrcMessageHandler::handleUserStateMessage(Communi::IrcMessage *message)
void IrcMessageHandler::handleWhisperMessage(Communi::IrcMessage *message)
{
auto app = getApp();
qDebug() << "Received whisper!";
MessageParseArgs args;
args.isReceivedWhisper = true;
-2
View File
@@ -820,14 +820,12 @@ void PubSub::listen(rapidjson::Document &&msg)
this->addClient();
qDebug() << "Added to the back of the queue";
this->requests.emplace_back(
std::make_unique<rapidjson::Document>(std::move(msg)));
}
bool PubSub::tryListen(rapidjson::Document &msg)
{
qDebug() << "tryListen with" << this->clients.size() << "clients";
for (const auto &p : this->clients)
{
const auto &client = p.second;
-2
View File
@@ -386,7 +386,6 @@ void TwitchAccount::autoModAllow(const QString msgID)
QString url("https://api.twitch.tv/kraken/chat/twitchbot/approve");
auto qba = (QString("{\"msg_id\":\"") + msgID + "\"}").toUtf8();
qDebug() << qba;
NetworkRequest(url, NetworkRequestType::Post)
.header("Content-Type", "application/json")
@@ -406,7 +405,6 @@ void TwitchAccount::autoModDeny(const QString msgID)
QString url("https://api.twitch.tv/kraken/chat/twitchbot/deny");
auto qba = (QString("{\"msg_id\":\"") + msgID + "\"}").toUtf8();
qDebug() << qba;
NetworkRequest(url, NetworkRequestType::Post)
.header("Content-Type", "application/json")
@@ -174,8 +174,6 @@ bool TwitchMessageBuilder::isIgnored() const
{
if (phrase.isBlock() && phrase.isMatch(this->originalMessage_))
{
qDebug() << "Blocking message because it contains ignored phrase"
<< phrase.getPattern();
return true;
}
}
@@ -205,8 +203,7 @@ bool TwitchMessageBuilder::isIgnored() const
case ShowIgnoredUsersMessages::Never:
break;
}
qDebug() << "Blocking message because it's from blocked user"
<< user.name;
return true;
}
}
@@ -1063,8 +1060,6 @@ void TwitchMessageBuilder::parseHighlights()
{
continue;
}
qDebug() << "Highlight because user" << this->ircMessage->nick()
<< "sent a message";
this->message().flags.set(MessageFlag::Highlighted);
this->message().highlightColor = userHighlight.getColor();
@@ -1128,9 +1123,6 @@ void TwitchMessageBuilder::parseHighlights()
continue;
}
qDebug() << "Highlight because" << this->originalMessage_ << "matches"
<< highlight.getPattern();
this->message().flags.set(MessageFlag::Highlighted);
this->message().highlightColor = highlight.getColor();