aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connection.h6
-rw-r--r--lib/events/roomcanonicalaliasevent.h6
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 48ea4f5e..258280a8 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -238,7 +238,8 @@ public:
/** Get the list of rooms with the specified tag */
QVector<Room*> roomsWithTag(const QString& tagName) const;
- /** Mark the room as a direct chat with the user
+ /*! \brief Mark the room as a direct chat with the user
+ *
* This function marks \p room as a direct chat with \p user.
* Emits the signal synchronously, without waiting to complete
* synchronisation with the server.
@@ -247,7 +248,8 @@ public:
*/
void addToDirectChats(const Room* room, User* user);
- /** Unmark the room from direct chats
+ /*! \brief Unmark the room from direct chats
+ *
* This function removes the room id from direct chats either for
* a specific \p user or for all users if \p user in nullptr.
* The room id is used to allow removal of, e.g., ids of forgotten
diff --git a/lib/events/roomcanonicalaliasevent.h b/lib/events/roomcanonicalaliasevent.h
index 5d680de7..fadfece0 100644
--- a/lib/events/roomcanonicalaliasevent.h
+++ b/lib/events/roomcanonicalaliasevent.h
@@ -59,12 +59,14 @@ public:
: StateEvent(typeId(), obj)
{ }
- explicit RoomCanonicalAliasEvent(const QString& canonicalAlias, const QStringList& altAliases = {})
+ explicit RoomCanonicalAliasEvent(const QString& canonicalAlias,
+ const QStringList& altAliases = {})
: StateEvent(typeId(), matrixTypeId(), QString(),
canonicalAlias, altAliases)
{ }
- explicit RoomCanonicalAliasEvent(QString&& canonicalAlias, QStringList&& altAliases = {})
+ explicit RoomCanonicalAliasEvent(QString&& canonicalAlias,
+ QStringList&& altAliases = {})
: StateEvent(typeId(), matrixTypeId(), QString(),
std::move(canonicalAlias), std::move(altAliases))
{ }