aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-12 22:02:18 +0200
committerGitHub <noreply@github.com>2022-09-12 22:02:18 +0200
commit95d3f0607556e66666b3974486b061fc4372ede0 (patch)
treecb9d8f9c8465b11f0f4c71ea9d54eb6216be360f /lib/connection.h
parent0d0a91b4438d68c833f480f45017847829bf6088 (diff)
parent79f995da07ca240c768281bf1d040eb94c07583e (diff)
downloadlibquotient-95d3f0607556e66666b3974486b061fc4372ede0.tar.gz
libquotient-95d3f0607556e66666b3974486b061fc4372ede0.zip
Merge #568: Add autotest for key verification and fix several edge-cases
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 79c23c9a..75faf370 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -864,15 +864,10 @@ Q_SIGNALS:
void devicesListLoaded();
#ifdef Quotient_E2EE_ENABLED
- void incomingKeyVerificationReady(const KeyVerificationReadyEvent& event);
- void incomingKeyVerificationStart(const KeyVerificationStartEvent& event);
- void incomingKeyVerificationAccept(const KeyVerificationAcceptEvent& event);
- void incomingKeyVerificationKey(const KeyVerificationKeyEvent& event);
- void incomingKeyVerificationMac(const KeyVerificationMacEvent& event);
- void incomingKeyVerificationDone(const KeyVerificationDoneEvent& event);
- void incomingKeyVerificationCancel(const KeyVerificationCancelEvent& event);
-
void newKeyVerificationSession(KeyVerificationSession* session);
+ void keyVerificationStateChanged(
+ const KeyVerificationSession* session,
+ Quotient::KeyVerificationSession::State state);
void sessionVerified(const QString& userId, const QString& deviceId);
#endif