aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index d9268028..53c99969 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -2471,7 +2471,7 @@ void Connection::startKeyVerificationSession(const QString& deviceId)
}
void Connection::sendToDevice(const QString& targetUserId,
- const QString& targetDeviceId, Event event,
+ const QString& targetDeviceId, const Event& event,
bool encrypted)
{
const auto contentJson =