From 46801080846d58ab1528e921bebcb14e651f7956 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 9 Jun 2018 22:53:29 +0900 Subject: csapi: Now really fix passing query parameters Also: GetContentThumbnailJob (again) requires width and height. --- lib/csapi/typing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/csapi/typing.cpp') diff --git a/lib/csapi/typing.cpp b/lib/csapi/typing.cpp index 605e143a..6db522c4 100644 --- a/lib/csapi/typing.cpp +++ b/lib/csapi/typing.cpp @@ -17,8 +17,8 @@ SetTypingJob::SetTypingJob(const QString& userId, const QString& roomId, bool ty basePath % "/rooms/" % roomId % "/typing/" % userId) { QJsonObject _data; - addToJson<>(_data, "typing", typing); - addToJson(_data, "timeout", timeout); + addParam<>(_data, "typing", typing); + addParam(_data, "timeout", timeout); setRequestData(_data); } -- cgit v1.2.3