summary refs log tree commit diff
path: root/src/encryption
diff options
context:
space:
mode:
authorNep Nep <nepnep91@protonmail.com>2023-12-17 21:35:01 -0300
committerGitHub <noreply@github.com>2023-12-17 21:35:01 -0300
commit7dbad2c648b4f698b8a953cf8b8d10c9dfe968fb (patch)
tree97c9db3b6919800670ddc54a20986c6744aaf2be /src/encryption
parentMultiple changes (diff)
parentMerge pull request #1640 from q234rty/fix-slow-new-window-plasma-6 (diff)
downloadnheko-7dbad2c648b4f698b8a953cf8b8d10c9dfe968fb.tar.xz
Merge branch 'Nheko-Reborn:master' into ignore-command
Diffstat (limited to 'src/encryption')
-rw-r--r--src/encryption/SelfVerificationStatus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/encryption/SelfVerificationStatus.cpp b/src/encryption/SelfVerificationStatus.cpp

index 32e75c4f..b5549ca1 100644 --- a/src/encryption/SelfVerificationStatus.cpp +++ b/src/encryption/SelfVerificationStatus.cpp
@@ -24,11 +24,12 @@ SelfVerificationStatus::SelfVerificationStatus(QObject *o) : QObject(o) { connect(ChatPage::instance(), &ChatPage::contentLoaded, this, [this] { + // We connect INSIDE a lambda, not A lambda... connect(cache::client(), &Cache::selfVerificationStatusChanged, this, &SelfVerificationStatus::invalidate, - Qt::UniqueConnection); + Qt::UniqueConnection); // clazy:exclude=lambda-unique-connection cache::client()->markUserKeysOutOfDate({http::client()->user_id().to_string()}); });