From 16350ce5c6fc020474c6980e3e72ab369e8b33f4 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Mon, 5 Sep 2022 16:51:15 +0200 Subject: Cleanup --- lib/keyverificationsession.cpp | 7 ++++--- 1 file 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); } -- cgit v1.2.3