diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/keyverificationsession.cpp | 7 |
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); } |