From ff2530ed2d4a29d588de9e01f8f6212ace76519c Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 8 Mar 2016 16:21:35 +0100 Subject: [PATCH] Fix for m.tag handler Remove call to deprecated Json.Object.add_member() method --- src/matrix-event-tag.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {