mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 09:33:25 -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;
|
||||
} else {
|
||||
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) {
|
||||
targetView->appendMessage(tr("You are flooding the chat. Please wait a couple of seconds."));
|
||||
} else if (response.response_code() == Response::RespFunctionNotAllowed ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue