Fix for m.tag handler

Remove call to deprecated Json.Object.add_member() method
This commit is contained in:
Gergely Polonkai 2016-03-08 16:21:35 +01:00 committed by Gergely Polonkai
parent 529fb29155
commit ff2530ed2d

View File

@ -51,7 +51,7 @@ public class Matrix.Event.Tag : Matrix.Event.Base {
var tags_root = new Json.Object(); var tags_root = new Json.Object();
_tags.foreach((tag, tag_contents) => { _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) { if (tags_root.get_size() > 0) {