aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-room.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2015-11-19 14:13:47 +0000
committerRichard van der Hoff <richard@matrix.org>2015-11-19 14:13:47 +0000
commit0afbba2bb6c634f4bd427947414e471b7eef838e (patch)
treeb5b3b7132e964594a4dd883c0bb4b2c35fa98eeb /matrix-room.h
parent38079edc780acdf8b6ad85a72b4f3a2e316e5d87 (diff)
downloadpurple-matrix-0afbba2bb6c634f4bd427947414e471b7eef838e.tar.gz
Update for /sync response changes
https://github.com/matrix-org/matrix-doc/pull/165 changes the format of the /sync response. Update our code to accept it.
Diffstat (limited to 'matrix-room.h')
-rw-r--r--matrix-room.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/matrix-room.h b/matrix-room.h
index 911b1af..1b4a34c 100644
--- a/matrix-room.h
+++ b/matrix-room.h
@@ -59,22 +59,20 @@ void matrix_room_leave_chat(struct _PurpleConversation *conv);
* Update the state table on a room, based on a received state event
*
* @param conv info on the room
- * @param event_id id of the event
* @param json_event_obj the event object.
*/
void matrix_room_handle_state_event(struct _PurpleConversation *conv,
- const gchar *event_id, JsonObject *json_event_obj);
+ JsonObject *json_event_obj);
/**
* handle a single received timeline event for a room (such as a message)
*
* @param conv info on the room
- * @param event_id id of the event
* @param json_event_obj the event object.
*/
void matrix_room_handle_timeline_event(struct _PurpleConversation *conv,
- const gchar *event_id, JsonObject *json_event_obj);
+ JsonObject *json_event_obj);
/**
* Send a message in a room