Fix for m.tag handler
Remove call to deprecated Json.Object.add_member() method
This commit is contained in:
parent
529fb29155
commit
ff2530ed2d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user