aboutsummaryrefslogtreecommitdiffstats
path: root/matrix-api.h
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2015-10-30 11:55:38 +0000
committerRichard van der Hoff <richard@matrix.org>2015-10-30 12:00:07 +0000
commit77d0978bd3fea5837f843a81065b2d8a9054f136 (patch)
tree30b62512ff6c6f4e25ecd35d405112c45845bacb /matrix-api.h
parent41013a966993de1d6186d2f492dc04c3d729edab (diff)
downloadpurple-matrix-77d0978bd3fea5837f843a81065b2d8a9054f136.tar.gz
Leave rooms when pidgin tells us to.
If a user unticks 'persistent', then closes a tab, we should leave the room.
Diffstat (limited to 'matrix-api.h')
-rw-r--r--matrix-api.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/matrix-api.h b/matrix-api.h
index 1a1239a..3e1e2c8 100644
--- a/matrix-api.h
+++ b/matrix-api.h
@@ -183,6 +183,15 @@ MatrixApiRequestData *matrix_api_send(MatrixConnectionData *conn,
gpointer user_data);
+
+MatrixApiRequestData *matrix_api_leave_room(MatrixConnectionData *conn,
+ const gchar *room_id,
+ MatrixApiCallback callback,
+ MatrixApiErrorCallback error_callback,
+ MatrixApiBadResponseCallback bad_response_callback,
+ gpointer user_data);
+
+
#if 0
/**
* Get the current state of a room