mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 01:23:24 -08:00
[TabRoom] Fix compile failure due to unused lambda capture (#7577)
This commit is contained in:
parent
4c03e0062b
commit
b849a57dab
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ void TabRoom::sendMessage()
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
ChatView *targetView = channelViews.value(activeChannelId, chatView);
|
ChatView *targetView = channelViews.value(activeChannelId, chatView);
|
||||||
auto onFinished = [this, targetView](const Response &response) {
|
auto onFinished = [targetView](const Response &response) {
|
||||||
if (response.response_code() == Response::RespChatFlood) {
|
if (response.response_code() == Response::RespChatFlood) {
|
||||||
targetView->appendMessage(tr("You are flooding the chat. Please wait a couple of seconds."));
|
targetView->appendMessage(tr("You are flooding the chat. Please wait a couple of seconds."));
|
||||||
} else if (response.response_code() == Response::RespFunctionNotAllowed ||
|
} else if (response.response_code() == Response::RespFunctionNotAllowed ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue