aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-room.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2015-10-16 15:47:59 +0100
committerRichard van der Hoff <richard@matrix.org>2015-10-16 16:47:30 +0100
commit14bd2551add446e7209f151a3fa4cfa213a682da (patch)
tree2d8eac0cb064d784fc4cd14a04e7b660e44603f9 /matrix-room.h
parentf329642569a47e273e92671aee3e3cf88118d079 (diff)
downloadpurple-matrix-14bd2551add446e7209f151a3fa4cfa213a682da.tar.gz
Switch to v2 /sync API
initialSync is going away, so switch over before we get too far into the old way.
Diffstat (limited to 'matrix-room.h')
-rw-r--r--matrix-room.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/matrix-room.h b/matrix-room.h
index 9537feb..b40df45 100644
--- a/matrix-room.h
+++ b/matrix-room.h
@@ -30,13 +30,14 @@ struct _PurpleConnection;
typedef GHashTable MatrixRoomStateEventTable;
struct _JsonArray;
+struct _JsonObject;
/**
* Parse a json list of room state into a MatrixRoomStateEventTable
*/
void matrix_room_parse_state_events(MatrixRoomStateEventTable *state_table,
- struct _JsonArray *state_array);
+ struct _JsonArray *state_array, struct _JsonObject *event_map);
/**