Remove unused lambda capture to fix warnings

This commit is contained in:
Rasmus Karlsson 2019-08-31 17:45:13 +02:00
parent 7ff567d584
commit a878ca8062

View file

@ -699,13 +699,13 @@ PubSub::PubSub()
}; };
this->moderationActionHandlers["denied_automod_message"] = this->moderationActionHandlers["denied_automod_message"] =
[this](const auto &data, const auto &roomID) { [](const auto &data, const auto &roomID) {
// This message got denied by a moderator // This message got denied by a moderator
// qDebug() << QString::fromStdString(rj::stringify(data)); // qDebug() << QString::fromStdString(rj::stringify(data));
}; };
this->moderationActionHandlers["approved_automod_message"] = this->moderationActionHandlers["approved_automod_message"] =
[this](const auto &data, const auto &roomID) { [](const auto &data, const auto &roomID) {
// This message got approved by a moderator // This message got approved by a moderator
// qDebug() << QString::fromStdString(rj::stringify(data)); // qDebug() << QString::fromStdString(rj::stringify(data));
}; };