Move invite_user_3pid() to direct MatrixAPI3PidCredential use

This commit is contained in:
2016-01-21 14:12:24 +01:00
parent 3e93e9e77d
commit 7d5b516005
3 changed files with 33 additions and 34 deletions

View File

@@ -212,9 +212,7 @@ struct _MatrixAPIInterface {
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *address,
const gchar *medium,
const gchar *id_server,
MatrixAPI3PidCredential *credential,
GError **error);
void (*invite_user)(MatrixAPI *api,
MatrixAPICallback callback,
@@ -635,9 +633,7 @@ void matrix_api_invite_user_3rdparty(MatrixAPI *api,
MatrixAPICallback callback,
gpointer user_data,
const gchar *room_id,
const gchar *address,
const gchar *medium,
const gchar *id_server,
MatrixAPI3PidCredential *credential,
GError **error);
void matrix_api_invite_user(MatrixAPI *api,
MatrixAPICallback callback,