aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/profile.h')
-rw-r--r--lib/csapi/profile.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/csapi/profile.h b/lib/csapi/profile.h
index 694f36b8..23094aff 100644
--- a/lib/csapi/profile.h
+++ b/lib/csapi/profile.h
@@ -12,23 +12,23 @@ namespace QMatrixClient
// Operations
/// Set the user's display name.
- ///
+ ///
/// This API sets the given user's display name. You must have permission to
/// set this user's display name, e.g. you need to have their ``access_token``.
class SetDisplayNameJob : public BaseJob
{
public:
/*! Set the user's display name.
- * \param userId
+ * \param userId
* The user whose display name to set.
- * \param displayname
+ * \param displayname
* The new display name for this user.
*/
explicit SetDisplayNameJob(const QString& userId, const QString& displayname = {});
};
/// Get the user's display name.
- ///
+ ///
/// Get the user's display name. This API may be used to fetch the user's
/// own displayname or to query the name of other users; either locally or
/// on remote homeservers.
@@ -36,7 +36,7 @@ namespace QMatrixClient
{
public:
/*! Get the user's display name.
- * \param userId
+ * \param userId
* The user whose display name to get.
*/
explicit GetDisplayNameJob(const QString& userId);
@@ -65,23 +65,23 @@ namespace QMatrixClient
};
/// Set the user's avatar URL.
- ///
+ ///
/// This API sets the given user's avatar URL. You must have permission to
/// set this user's avatar URL, e.g. you need to have their ``access_token``.
class SetAvatarUrlJob : public BaseJob
{
public:
/*! Set the user's avatar URL.
- * \param userId
+ * \param userId
* The user whose avatar URL to set.
- * \param avatarUrl
+ * \param avatarUrl
* The new avatar URL for this user.
*/
explicit SetAvatarUrlJob(const QString& userId, const QString& avatarUrl = {});
};
/// Get the user's avatar URL.
- ///
+ ///
/// Get the user's avatar URL. This API may be used to fetch the user's
/// own avatar URL or to query the URL of other users; either locally or
/// on remote homeservers.
@@ -89,7 +89,7 @@ namespace QMatrixClient
{
public:
/*! Get the user's avatar URL.
- * \param userId
+ * \param userId
* The user whose avatar URL to get.
*/
explicit GetAvatarUrlJob(const QString& userId);
@@ -118,7 +118,7 @@ namespace QMatrixClient
};
/// Get this user's profile information.
- ///
+ ///
/// Get the combined profile information for this user. This API may be used
/// to fetch the user's own profile information or other users; either
/// locally or on remote homeservers. This API may return keys which are not
@@ -127,7 +127,7 @@ namespace QMatrixClient
{
public:
/*! Get this user's profile information.
- * \param userId
+ * \param userId
* The user whose profile information to get.
*/
explicit GetUserProfileJob(const QString& userId);