aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-event.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2015-11-02 14:28:02 +0000
committerRichard van der Hoff <richard@matrix.org>2015-11-02 14:28:02 +0000
commitf4c6751e9b1c36a54eace8471fbd80a27ec674ac (patch)
tree5fd836e0a85fdac425184318331bae6a10ed47ff /matrix-event.h
parentf9b67d862caed52dd6494e0aa526ed65dd85c08d (diff)
downloadpurple-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.h4
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;