aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index d3a53cf4..92134675 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -640,7 +640,8 @@ SendToDeviceJob* Connection::sendToDevices(const QString& eventType,
eventType, generateTxnId(), json);
}
-SendMessageJob* Connection::sendMessage(const QString& roomId, const RoomEvent& event) const
+SendMessageJob* Connection::sendMessage(const QString& roomId,
+ const RoomEvent& event) const
{
const auto txnId = event.transactionId().isEmpty()
? generateTxnId() : event.transactionId();