aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-e2e.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2017-03-26 20:13:57 +0100
committerDr. David Alan Gilbert <dave@treblig.org>2018-02-25 02:08:49 +0000
commit437f18c038134fc2f8541e2d55728b72d2392103 (patch)
tree40454e23d6aeb856cbf3c887747bdc07745c5b6a /matrix-e2e.h
parent9fb00bdd6244e31852e913d5fe2720daab52d6d4 (diff)
downloadpurple-matrix-437f18c038134fc2f8541e2d55728b72d2392103.tar.gz
e2e: Route decrypted messages back up
Parse the decrypted JSON and route it back up to the room code. Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Diffstat (limited to 'matrix-e2e.h')
-rw-r--r--matrix-e2e.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-e2e.h b/matrix-e2e.h
index 9483b4e..a3d953f 100644
--- a/matrix-e2e.h
+++ b/matrix-e2e.h
@@ -28,7 +28,7 @@ typedef struct _PurpleConversation PurpleConversation;
int matrix_e2e_get_device_keys(MatrixConnectionData *conn, const gchar *device_id);
void matrix_e2e_cleanup_connection(MatrixConnectionData *conn);
void matrix_e2e_decrypt_d2d(struct _PurpleConnection *pc, struct _JsonObject *event);
-void matrix_e2e_decrypt_room(struct _PurpleConversation *conv, struct _JsonObject *event);
+JsonParser *matrix_e2e_decrypt_room(struct _PurpleConversation *conv, struct _JsonObject *event);
void matrix_e2e_handle_sync_key_counts(struct _PurpleConnection *pc, struct _JsonObject *count_object, gboolean force_send);
#endif