Added more functionality and clickable deny and accept buttons that don't do anything, this also fixes the issue with the background not working properly

This commit is contained in:
apa420
2019-01-20 14:45:59 +01:00
parent 0b2480d715
commit 7067b0503d
11 changed files with 64 additions and 14 deletions
+8 -1
View File
@@ -532,6 +532,8 @@ PubSub::PubSub()
try
{
const auto &args = getArgs(data);
const auto &msgID = getMsgID(data);
// qDebug() << QString::fromStdString(rj::stringify(data));
if (args.Size() < 1)
{
@@ -559,6 +561,11 @@ PubSub::PubSub()
}
}
if (!rj::getSafe(msgID, action.msgID))
{
return;
}
this->signals_.moderation.automodMessage.invoke(action);
}
catch (const std::runtime_error &ex)
@@ -624,7 +631,7 @@ PubSub::PubSub()
// Add an initial client
this->addClient();
}
} // namespace chatterino
void PubSub::addClient()
{