aboutsummaryrefslogtreecommitdiff
path: root/lib/keyverificationsession.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-26 13:52:22 +0200
committerGitHub <noreply@github.com>2022-09-26 13:52:22 +0200
commit15b840d82d4794358fbf1271ea76e446b47db7e5 (patch)
treeaa5fdaa81234a21c6919fac4958f84d7c26cd397 /lib/keyverificationsession.cpp
parent72e14cb1bdff68dfe0fb61fff0defd6c50dff43c (diff)
parent5904a61c59f0eef00aef07ef998658fd791ff139 (diff)
downloadlibquotient-15b840d82d4794358fbf1271ea76e446b47db7e5.tar.gz
libquotient-15b840d82d4794358fbf1271ea76e446b47db7e5.zip
Merge branch 'dev' into kitsune/unify-olm-errors
Diffstat (limited to 'lib/keyverificationsession.cpp')
-rw-r--r--lib/keyverificationsession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/keyverificationsession.cpp b/lib/keyverificationsession.cpp
index 171596c0..4c61964c 100644
--- a/lib/keyverificationsession.cpp
+++ b/lib/keyverificationsession.cpp
@@ -119,7 +119,7 @@ void KeyVerificationSession::handleEvent(const KeyVerificationEvent& baseEvent)
return true;
},
[this](const KeyVerificationMacEvent& event) {
- if (state() != WAITINGFORMAC)
+ if (state() != WAITINGFORMAC && state() != WAITINGFORVERIFICATION)
return false;
handleMac(event);
return true;