aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/presence.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/presence.h')
-rw-r--r--lib/csapi/presence.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/csapi/presence.h b/lib/csapi/presence.h
index a885bf4f..c817ad9f 100644
--- a/lib/csapi/presence.h
+++ b/lib/csapi/presence.h
@@ -12,7 +12,7 @@ namespace Quotient {
*
* This API sets the given user's presence state. When setting the status,
* the activity time is updated to reflect that activity; the client does
- * not need to specify the ``last_active_ago`` field. You cannot set the
+ * not need to specify the `last_active_ago` field. You cannot set the
* presence state of another user.
*/
class SetPresenceJob : public BaseJob {
@@ -55,7 +55,10 @@ public:
// Result properties
/// This user's presence.
- QString presence() const { return loadFromJson<QString>("presence"_ls); }
+ QString presence() const
+ {
+ return loadFromJson<QString>("presence"_ls);
+ }
/// The length of time in milliseconds since an action was performed
/// by this user.
@@ -65,7 +68,10 @@ public:
}
/// The state message for this user if one was set.
- QString statusMsg() const { return loadFromJson<QString>("status_msg"_ls); }
+ QString statusMsg() const
+ {
+ return loadFromJson<QString>("status_msg"_ls);
+ }
/// Whether the user is currently active
Omittable<bool> currentlyActive() const