aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/receipts.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/receipts.h')
-rw-r--r--lib/csapi/receipts.h30
1 files changed, 16 insertions, 14 deletions
diff --git a/lib/csapi/receipts.h b/lib/csapi/receipts.h
index 47e2f3c7..4e40188a 100644
--- a/lib/csapi/receipts.h
+++ b/lib/csapi/receipts.h
@@ -8,8 +8,7 @@
#include <QtCore/QJsonObject>
-namespace QMatrixClient
-{
+namespace QMatrixClient {
// Operations
/// Send a receipt for the given event ID.
@@ -19,17 +18,20 @@ namespace QMatrixClient
class PostReceiptJob : public BaseJob
{
public:
- /*! Send a receipt for the given event ID.
- * \param roomId
- * The room in which to send the event.
- * \param receiptType
- * The type of receipt to send.
- * \param eventId
- * The event ID to acknowledge up to.
- * \param receipt
- * Extra receipt information to attach to ``content`` if any. The
- * server will automatically set the ``ts`` field.
- */
- explicit PostReceiptJob(const QString& roomId, const QString& receiptType, const QString& eventId, const QJsonObject& receipt = {});
+ /*! Send a receipt for the given event ID.
+ * \param roomId
+ * The room in which to send the event.
+ * \param receiptType
+ * The type of receipt to send.
+ * \param eventId
+ * The event ID to acknowledge up to.
+ * \param receipt
+ * Extra receipt information to attach to ``content`` if any. The
+ * server will automatically set the ``ts`` field.
+ */
+ explicit PostReceiptJob(const QString& roomId,
+ const QString& receiptType,
+ const QString& eventId,
+ const QJsonObject& receipt = {});
};
} // namespace QMatrixClient