diff options
Diffstat (limited to 'lib/csapi/peeking_events.cpp')
-rw-r--r-- | lib/csapi/peeking_events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csapi/peeking_events.cpp b/lib/csapi/peeking_events.cpp index 53f2d280..b3be7631 100644 --- a/lib/csapi/peeking_events.cpp +++ b/lib/csapi/peeking_events.cpp @@ -23,9 +23,9 @@ class PeekEventsJob::Private BaseJob::Query queryToPeekEvents(const QString& from, Omittable<int> timeout, const QString& roomId) { BaseJob::Query _q; - addToQuery<IfNotEmpty>(_q, "from", from); - addToQuery<IfNotEmpty>(_q, "timeout", timeout); - addToQuery<IfNotEmpty>(_q, "room_id", roomId); + addParam<IfNotEmpty>(_q, "from", from); + addParam<IfNotEmpty>(_q, "timeout", timeout); + addParam<IfNotEmpty>(_q, "room_id", roomId); return _q; } |