aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/room.cpp2
-rw-r--r--lib/room.h2
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});
}
diff --git a/lib/room.h b/lib/room.h
index d148b9c7..e7f260dd 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -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);