diff options
Diffstat (limited to 'lib/csapi/receipts.cpp')
-rw-r--r-- | lib/csapi/receipts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/receipts.cpp b/lib/csapi/receipts.cpp index 8feab986..0194603d 100644 --- a/lib/csapi/receipts.cpp +++ b/lib/csapi/receipts.cpp @@ -13,5 +13,5 @@ PostReceiptJob::PostReceiptJob(const QString& roomId, const QString& receiptType makePath("/_matrix/client/v3", "/rooms/", roomId, "/receipt/", receiptType, "/", eventId)) { - setRequestData(RequestData(toJson(receipt))); + setRequestData({ toJson(receipt) }); } |