aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/room.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.h b/lib/room.h
index 7aa39eb5..622410f5 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -300,10 +300,10 @@ namespace QMatrixClient
* of tags and the new set is sent to the server to update other
* clients.
*/
- void addTag(const QString& name, const TagRecord& record = {});
+ Q_INVOKABLE void addTag(const QString& name, const TagRecord& record = {});
/** Remove a tag from the room */
- void removeTag(const QString& name);
+ Q_INVOKABLE void removeTag(const QString& name);
/** Overwrite the room's tags
* This completely replaces the existing room's tags with a set