diff options
-rw-r--r-- | lib/room.cpp | 2 | ||||
-rw-r--r-- | lib/room.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index 4330cddc..1668fdb7 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -684,7 +684,7 @@ void Room::addTag(const QString& name, const TagRecord& record) d->broadcastTagUpdates(); } -void Room::addTag(const QString &name, int order) +void Room::addTag(const QString& name, const QString& order) { addTag(name, TagRecord{order}); } @@ -301,7 +301,7 @@ namespace QMatrixClient * clients. */ void addTag(const QString& name, const TagRecord& record = {}); - Q_INVOKABLE void addTag(const QString& name, int order); + Q_INVOKABLE void addTag(const QString& name, const QString& order); /** Remove a tag from the room */ Q_INVOKABLE void removeTag(const QString& name); |