aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-01 20:19:48 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-03-01 20:19:48 +0900
commite15645d0e7afc0f45727d0d6611445fc26ef5219 (patch)
tree03e5dbe17941a3bc4f7e1c75fc0567f55642883a /connection.h
parent646ee63846c8985b6222ae1096ccc970a1834ce5 (diff)
downloadlibquotient-e15645d0e7afc0f45727d0d6611445fc26ef5219.tar.gz
libquotient-e15645d0e7afc0f45727d0d6611445fc26ef5219.zip
Connection::tagNames()
To be able to get all available tags throughout the connection.
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/connection.h b/connection.h
index b45a171d..1e9df5e2 100644
--- a/connection.h
+++ b/connection.h
@@ -83,6 +83,9 @@ namespace QMatrixClient
*/
QHash<QString, QVector<Room*>> tagsToRooms() const;
+ /** Get all room tags known on this connection */
+ QStringList tagNames() const;
+
/** Get the list of rooms with the specified tag */
QVector<Room*> roomsWithTag(const QString& tagName) const;