From 9b2a98b5957616a69462838e2383da862fbd1a3e Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Mon, 13 Jun 2022 11:12:41 +0200
Subject: [PATCH] Fix C++20 compatibility

---
 src/ChatPage.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp
index 0225ed278..daae116e5 100644
--- a/src/ChatPage.cpp
+++ b/src/ChatPage.cpp
@@ -83,7 +83,7 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QObject *parent)
     });
 
     connectivityTimer_.setInterval(CHECK_CONNECTIVITY_INTERVAL);
-    connect(&connectivityTimer_, &QTimer::timeout, this, [=]() {
+    connect(&connectivityTimer_, &QTimer::timeout, this, [this]() {
         if (http::client()->access_token().empty()) {
             connectivityTimer_.stop();
             return;
-- 
GitLab