aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/filter.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:01:33 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-19 15:03:24 +0200
commite17764a1ae81393968dfb747c7b67353c109bc71 (patch)
treebbff0707ae3622e22c67d0cc310370eb5126ac7e /lib/csapi/filter.h
parentcbd107e595bbb78ef3411a4a92f66d495c6fc5b4 (diff)
downloadlibquotient-e17764a1ae81393968dfb747c7b67353c109bc71.tar.gz
libquotient-e17764a1ae81393968dfb747c7b67353c109bc71.zip
csapi/: generated using the latest GTAD and matrix-doc
For matrix-doc, specifically, it is master (5cb4b086) merged with https://github.com/matrix-org/matrix-doc/pull/2518.
Diffstat (limited to 'lib/csapi/filter.h')
-rw-r--r--lib/csapi/filter.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/csapi/filter.h b/lib/csapi/filter.h
index 9aa7dc79..f07b489c 100644
--- a/lib/csapi/filter.h
+++ b/lib/csapi/filter.h
@@ -20,7 +20,6 @@ class DefineFilterJob : public BaseJob {
public:
/*! \brief Upload a new filter.
*
- *
* \param userId
* The id of the user uploading the filter. The access token must be
* authorized to make requests for this user id.
@@ -46,7 +45,6 @@ class GetFilterJob : public BaseJob {
public:
/*! \brief Download a filter
*
- *
* \param userId
* The user ID to download a filter for.
*
@@ -65,8 +63,8 @@ public:
// Result properties
- /// "The filter defintion"
- Filter data() const { return fromJson<Filter>(jsonData()); }
+ /// The filter definition.
+ Filter filter() const { return fromJson<Filter>(jsonData()); }
};
} // namespace Quotient