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.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/csapi/presence.h b/lib/csapi/presence.h
index c817ad9f..4ab50e25 100644
--- a/lib/csapi/presence.h
+++ b/lib/csapi/presence.h
@@ -55,10 +55,7 @@ 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.
@@ -68,10 +65,7 @@ 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