aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/joining.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-07 16:55:06 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-07 16:55:06 +0200
commitf7cbefe5ad626ae1798a5d7bb7546e89ad336acd (patch)
treebccb4e74683b9ceed9000938da495976cbfa70c8 /lib/csapi/joining.h
parent1f52b5a2da9bce4d25f4c897370e58c8b6d56ba1 (diff)
downloadlibquotient-f7cbefe5ad626ae1798a5d7bb7546e89ad336acd.tar.gz
libquotient-f7cbefe5ad626ae1798a5d7bb7546e89ad336acd.zip
API files: reformat after .clang-format change
See 000b5730.
Diffstat (limited to 'lib/csapi/joining.h')
-rw-r--r--lib/csapi/joining.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/csapi/joining.h b/lib/csapi/joining.h
index 6dcd1351..d0199b11 100644
--- a/lib/csapi/joining.h
+++ b/lib/csapi/joining.h
@@ -49,10 +49,7 @@ public:
// Result properties
/// The joined room ID.
- QString roomId() const
- {
- return loadFromJson<QString>("room_id"_ls);
- }
+ QString roomId() const { return loadFromJson<QString>("room_id"_ls); }
};
/*! \brief Start the requesting user participating in a particular room.
@@ -98,10 +95,7 @@ public:
// Result properties
/// The joined room ID.
- QString roomId() const
- {
- return loadFromJson<QString>("room_id"_ls);
- }
+ QString roomId() const { return loadFromJson<QString>("room_id"_ls); }
};
} // namespace Quotient