aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorBlack Hat <bhat@encom.eu.org>2018-07-21 21:37:21 +0800
committerBlack Hat <bhat@encom.eu.org>2018-07-21 21:37:21 +0800
commit287eccb4b7f88a52cd191ae208009335fca7e907 (patch)
tree53d916caead118ff9a6d67b9a392b0377725196b /lib/room.h
parentb7586ded8583f75edab227cf810a32b9a440cabc (diff)
downloadlibquotient-287eccb4b7f88a52cd191ae208009335fca7e907.tar.gz
libquotient-287eccb4b7f88a52cd191ae208009335fca7e907.zip
Overload Room:addTag.
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/room.h b/lib/room.h
index 622410f5..d148b9c7 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -300,7 +300,8 @@ namespace QMatrixClient
* of tags and the new set is sent to the server to update other
* clients.
*/
- Q_INVOKABLE void addTag(const QString& name, const TagRecord& record = {});
+ void addTag(const QString& name, const TagRecord& record = {});
+ Q_INVOKABLE void addTag(const QString& name, int order);
/** Remove a tag from the room */
Q_INVOKABLE void removeTag(const QString& name);