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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user