aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 5afcfc2f..79c23c9a 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -336,7 +336,7 @@ public:
// This assumes that an olm session already exists. If it doesn't, no message is sent.
void sendToDevice(const QString& targetUserId, const QString& targetDeviceId,
- Event event, bool encrypted);
+ const Event& event, bool encrypted);
/// Returns true if this megolm session comes from a verified device
bool isVerifiedSession(const QString& megolmSessionId) const;