aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/connection.cpp3
-rw-r--r--lib/connection.h1
-rw-r--r--lib/eventitem.cpp0
-rw-r--r--lib/eventitem.h4
4 files changed, 7 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();
diff --git a/lib/connection.h b/lib/connection.h
index 48ca2232..3b747d08 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -422,6 +422,7 @@ namespace QMatrixClient
SendToDeviceJob* sendToDevices(const QString& eventType,
const UsersToDevicesToEvents& eventsMap) const;
+ /** \deprecated This method is experimental and may be removed any time */
SendMessageJob* sendMessage(const QString& roomId,
const RoomEvent& event) const;
diff --git a/lib/eventitem.cpp b/lib/eventitem.cpp
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/lib/eventitem.cpp
diff --git a/lib/eventitem.h b/lib/eventitem.h
new file mode 100644
index 00000000..9e02fab0
--- /dev/null
+++ b/lib/eventitem.h
@@ -0,0 +1,4 @@
+#ifndef EVENTITEM_H
+#define EVENTITEM_H
+
+#endif // EVENTITEM_H