aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/users.h')
-rw-r--r--lib/csapi/users.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/csapi/users.h b/lib/csapi/users.h
index 6fc26f57..772a6365 100644
--- a/lib/csapi/users.h
+++ b/lib/csapi/users.h
@@ -19,7 +19,7 @@ namespace Quotient {
*
* The search is performed case-insensitively on user IDs and display
* names preferably using a collation determined based upon the
- * ``Accept-Language`` header provided in the request, if present.
+ * `Accept-Language` header provided in the request, if present.
*/
class SearchUserDirectoryJob : public BaseJob {
public:
@@ -34,7 +34,7 @@ public:
///
/// The search is performed case-insensitively on user IDs and display
/// names preferably using a collation determined based upon the
- /// ``Accept-Language`` header provided in the request, if present.
+ /// `Accept-Language` header provided in the request, if present.
struct User {
/// The user's matrix user ID.
QString userId;
@@ -66,7 +66,10 @@ public:
}
/// Indicates if the result list has been truncated by the limit.
- bool limited() const { return loadFromJson<bool>("limited"_ls); }
+ bool limited() const
+ {
+ return loadFromJson<bool>("limited"_ls);
+ }
};
template <>