diff --git a/src/matrix-event-tag.vala b/src/matrix-event-tag.vala index 967b511..d833124 100644 --- a/src/matrix-event-tag.vala +++ b/src/matrix-event-tag.vala @@ -51,7 +51,7 @@ public class Matrix.Event.Tag : Matrix.Event.Base { var tags_root = new Json.Object(); _tags.foreach((tag, tag_contents) => { - tags_root.add_member(tag, tag_contents); + tags_root.set_member(tag, tag_contents); }); if (tags_root.get_size() > 0) {