From 53521f42d15d2553028bae09f1cd12206bc32955 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 28 Jul 2018 18:00:59 +0900 Subject: Room: validate tags before sending them to the server See https://github.com/matrix-org/matrix-doc/pull/1457 for the background. --- lib/room.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/room.h') diff --git a/lib/room.h b/lib/room.h index 5cac615a..e665f321 100644 --- a/lib/room.h +++ b/lib/room.h @@ -315,7 +315,7 @@ namespace QMatrixClient * (because tags are saved in account data rather than in shared * room state). */ - void setTags(const TagsMap& newTags); + void setTags(TagsMap newTags); /** Check whether the list of tags has m.favourite */ bool isFavourite() const; -- cgit v1.2.3