aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-29 21:59:03 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-30 07:41:00 +0200
commit70035f204345b09305fbb487208708e69bd79a53 (patch)
tree7f51fc547d87d141aad5bd2eee2aa662925dc61e /lib
parent000b57306afe450c21df3aa95313567614c34516 (diff)
downloadlibquotient-70035f204345b09305fbb487208708e69bd79a53.tar.gz
libquotient-70035f204345b09305fbb487208708e69bd79a53.zip
Formatting
Diffstat (limited to 'lib')
-rw-r--r--lib/room.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/room.h b/lib/room.h
index cdbfe58f..a1cb6261 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -181,12 +181,10 @@ public:
QString name() const;
/// Room aliases defined on the current user's server
/// \sa remoteAliases, setLocalAliases
- [[deprecated("Use aliases()")]]
- QStringList localAliases() const;
+ [[deprecated("Use aliases()")]] QStringList localAliases() const;
/// Room aliases defined on other servers
/// \sa localAliases
- [[deprecated("Use aliases()")]]
- QStringList remoteAliases() const;
+ [[deprecated("Use aliases()")]] QStringList remoteAliases() const;
QString canonicalAlias() const;
QStringList altAliases() const;
QStringList aliases() const;
@@ -271,7 +269,8 @@ public:
*/
Q_INVOKABLE QString roomMembername(const Quotient::User* u) const;
/*!
- * \brief Get a disambiguated name for a user with this id in the room context
+ * \brief Get a disambiguated name for a user with this id in the room
+ * context
*
* \deprecated use safeMemberName() instead
*/
@@ -339,9 +338,13 @@ public:
const char* relType) const;
const RoomCreateEvent* creation() const
- { return getCurrentState<RoomCreateEvent>(); }
+ {
+ return getCurrentState<RoomCreateEvent>();
+ }
const RoomTombstoneEvent* tombstone() const
- { return getCurrentState<RoomTombstoneEvent>(); }
+ {
+ return getCurrentState<RoomTombstoneEvent>();
+ }
bool displayed() const;
/// Mark the room as currently displayed to the user