aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-05 16:51:15 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-05 16:51:15 +0200
commit16350ce5c6fc020474c6980e3e72ab369e8b33f4 (patch)
tree603e613e87d27f74fbc008333d8252e0b18a98c8
parent66127730592eadf9ee717a53a521ac2ec14f1051 (diff)
downloadlibquotient-16350ce5c6fc020474c6980e3e72ab369e8b33f4.tar.gz
libquotient-16350ce5c6fc020474c6980e3e72ab369e8b33f4.zip
Cleanup
-rw-r--r--lib/keyverificationsession.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/keyverificationsession.cpp b/lib/keyverificationsession.cpp
index 44a085fe..c6b62a83 100644
--- a/lib/keyverificationsession.cpp
+++ b/lib/keyverificationsession.cpp
@@ -306,9 +306,10 @@ void KeyVerificationSession::sendStartSas()
{
startSentByUs = true;
KeyVerificationStartEvent event(m_transactionId, m_connection->deviceId());
- m_startEvent = QJsonDocument(event.contentJson()).toJson(QJsonDocument::Compact);
- m_connection->sendToDevice(m_remoteUserId, m_remoteDeviceId,
- std::move(event), m_encrypted);
+ m_startEvent =
+ QJsonDocument(event.contentJson()).toJson(QJsonDocument::Compact);
+ m_connection->sendToDevice(m_remoteUserId, m_remoteDeviceId, event,
+ m_encrypted);
setState(WAITINGFORACCEPT);
}