diff options
author | Richard van der Hoff <richard@matrix.org> | 2015-11-02 14:28:02 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2015-11-02 14:28:02 +0000 |
commit | f4c6751e9b1c36a54eace8471fbd80a27ec674ac (patch) | |
tree | 5fd836e0a85fdac425184318331bae6a10ed47ff /matrix-statetable.h | |
parent | f9b67d862caed52dd6494e0aa526ed65dd85c08d (diff) | |
download | purple-matrix-f4c6751e9b1c36a54eace8471fbd80a27ec674ac.tar.gz |
Handle incoming room invites
Propagate received invites to the UI, and correctly handle accepting/refusing
them.
Diffstat (limited to 'matrix-statetable.h')
-rw-r--r-- | matrix-statetable.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/matrix-statetable.h b/matrix-statetable.h index d5ab324..7943041 100644 --- a/matrix-statetable.h +++ b/matrix-statetable.h @@ -52,6 +52,12 @@ MatrixRoomStateEventTable *matrix_statetable_new(); /** + * free a state table + */ +void matrix_statetable_destroy(MatrixRoomStateEventTable *table); + + +/** * look up a particular bit of state * * @returns null if this key ies not known @@ -65,7 +71,7 @@ struct _MatrixRoomEvent *matrix_statetable_get_event( * Update a state table with a new state event */ void matrix_statetable_update(MatrixRoomStateEventTable *state_table, - const gchar *event_id, struct _JsonObject *json_event_obj, + struct _JsonObject *json_event_obj, MatrixStateUpdateCallback callback, gpointer user_data); |