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-event.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-event.h')
-rw-r--r-- | matrix-event.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/matrix-event.h b/matrix-event.h index 6a5df9b..2f079b2 100644 --- a/matrix-event.h +++ b/matrix-event.h @@ -31,6 +31,10 @@ typedef struct _MatrixRoomEvent { * events. */ gchar *txn_id; + + /* the sender, for incoming events. NULL for outgoing ones. */ + gchar *sender; + gchar *event_type; struct _JsonObject *content; } MatrixRoomEvent; |