aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/search.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-09-24 19:20:10 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-09-29 21:59:39 +0900
commit4244cee8d5e0f760cccd2b45ad587670573ef03c (patch)
tree4806108543f1402247e6cce1dba987a98d6fe83b /lib/csapi/search.h
parentf5c2e47fa1ab84fdaffe03c30ba973d7dea5ac05 (diff)
downloadlibquotient-4244cee8d5e0f760cccd2b45ad587670573ef03c.tar.gz
libquotient-4244cee8d5e0f760cccd2b45ad587670573ef03c.zip
Prepare for CS API 0.4.0
This commit consists of two parts: upgrading the API infrastructure and trivial but sweeping update to the generated files. 1. The API infrastructure (converters.h, *.mustache and some other non-generated files) now can deal with top-level JSON arrays and response inlining; better supports property maps; and gets some formatting fixes in generated code. 2. Generated files now use QJsonValue instead of QJsonObject as a default type to (un)marshall Matrix API data structures, to match the change in the infrastructure above This commit is still using the old Matrix API definitions, before CS API 0.4.0. Getting to CS API 0.4.0 will come next.
Diffstat (limited to 'lib/csapi/search.h')
-rw-r--r--lib/csapi/search.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/csapi/search.h b/lib/csapi/search.h
index 6cb0ac19..18411975 100644
--- a/lib/csapi/search.h
+++ b/lib/csapi/search.h
@@ -18,7 +18,7 @@ namespace QMatrixClient
// Operations
/// Perform a server-side search.
- ///
+ ///
/// Performs a full text search across different categories.
class SearchJob : public BaseJob
{
@@ -161,7 +161,7 @@ namespace QMatrixClient
/// Any groups that were requested.
///
/// The outer ``string`` key is the group key requested (eg: ``room_id``
- /// or ``sender``). The inner ``string`` key is the grouped value (eg:
+ /// or ``sender``). The inner ``string`` key is the grouped value (eg:
/// a room's ID or a user's ID).
QHash<QString, QHash<QString, GroupValue>> groups;
/// Token that can be used to get the next batch of
@@ -181,9 +181,9 @@ namespace QMatrixClient
// Construction/destruction
/*! Perform a server-side search.
- * \param searchCategories
+ * \param searchCategories
* Describes which categories to search in and their criteria.
- * \param nextBatch
+ * \param nextBatch
* The point to return events from. If given, this should be a
* `next_batch` result from a previous call to this endpoint.
*/