diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-29 21:59:03 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-30 07:41:00 +0200 |
commit | 70035f204345b09305fbb487208708e69bd79a53 (patch) | |
tree | 7f51fc547d87d141aad5bd2eee2aa662925dc61e /lib/room.h | |
parent | 000b57306afe450c21df3aa95313567614c34516 (diff) | |
download | libquotient-70035f204345b09305fbb487208708e69bd79a53.tar.gz libquotient-70035f204345b09305fbb487208708e69bd79a53.zip |
Formatting
Diffstat (limited to 'lib/room.h')
-rw-r--r-- | lib/room.h | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -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 |