aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-e2e.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2017-05-14 17:58:45 +0100
committerDr. David Alan Gilbert <dave@treblig.org>2018-02-25 02:08:49 +0000
commitc155422e38306631c04dad430486b8a868af1921 (patch)
tree6fb0e5306e561c8a80a62a07f5767a2e01865197 /matrix-e2e.h
parent21605558fa314518e6aae6f20f6728a746cfe320 (diff)
downloadpurple-matrix-c155422e38306631c04dad430486b8a868af1921.tar.gz
e2e: Cleanup inbound megolm sessions in memory
Cleanup on closing the plugin or leaving a conversation. Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Diffstat (limited to 'matrix-e2e.h')
-rw-r--r--matrix-e2e.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/matrix-e2e.h b/matrix-e2e.h
index a3d953f..3aaab9b 100644
--- a/matrix-e2e.h
+++ b/matrix-e2e.h
@@ -27,6 +27,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_cleanup_conversation(PurpleConversation *conv);
void matrix_e2e_decrypt_d2d(struct _PurpleConnection *pc, 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);