mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fix lambda captures
This commit is contained in:
parent
3ddac8b12a
commit
8516082191
2 changed files with 3 additions and 3 deletions
|
@ -212,7 +212,7 @@ QString CommandController::execCommand(const QString &textNoEmoji,
|
||||||
if (getSettings()->inlineWhispers)
|
if (getSettings()->inlineWhispers)
|
||||||
{
|
{
|
||||||
app->twitch.server->forEachChannel(
|
app->twitch.server->forEachChannel(
|
||||||
[&messagexD, &overrideFlags](ChannelPtr _channel) {
|
[&messagexD, overrideFlags](ChannelPtr _channel) {
|
||||||
_channel->addMessage(messagexD, overrideFlags);
|
_channel->addMessage(messagexD, overrideFlags);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,8 +266,8 @@ void IrcMessageHandler::handleWhisperMessage(Communi::IrcMessage *message)
|
||||||
if (getSettings()->inlineWhispers)
|
if (getSettings()->inlineWhispers)
|
||||||
{
|
{
|
||||||
app->twitch.server->forEachChannel(
|
app->twitch.server->forEachChannel(
|
||||||
[&_message, &overrideFlags](ChannelPtr channel) {
|
[&_message, overrideFlags](ChannelPtr channel) {
|
||||||
channel->addMessage(_message, overrideFlags); //
|
channel->addMessage(_message, overrideFlags);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue