Redesign MatrixStateEvent as a GObject

This commit is contained in:
2016-02-19 14:33:07 +01:00
parent ec8f51bced
commit 1bfd8906b6
4 changed files with 61 additions and 3 deletions

View File

@@ -797,9 +797,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API {
builder.begin_array();
initial_state.foreach(
(entry) => {
try {
builder.add_value(entry.get_json_node());
} catch (Matrix.Error e) {}
builder.add_value(entry.json);
});
builder.end_array();
}