diff --git a/src/matrix-api.c b/src/matrix-api.c index 63e9f05..4b77fa6 100644 --- a/src/matrix-api.c +++ b/src/matrix-api.c @@ -455,7 +455,6 @@ matrix_api_send_message(MatrixAPI *api, * @room_id: the room to send the emote to * @event_type: the type of the event to send * @content: the content of the event as a #JsonNode - * @txn_id: the transaction ID to use * * Send a message event to the room. */ @@ -465,8 +464,7 @@ matrix_api_send_message_event(MatrixAPI *api, gpointer user_data, gchar *room_id, gchar *event_type, - JsonNode *content, - guint txn_id) + JsonNode *content) { g_return_if_fail(MATRIX_IS_API(api)); @@ -475,8 +473,7 @@ matrix_api_send_message_event(MatrixAPI *api, callback, user_data, room_id, event_type, - content, - txn_id); + content); } /** diff --git a/src/matrix-api.h b/src/matrix-api.h index 190f9b1..2c170fa 100644 --- a/src/matrix-api.h +++ b/src/matrix-api.h @@ -81,8 +81,7 @@ struct _MatrixAPIInterface { gpointer user_data, gchar *room_id, gchar *event_type, - JsonNode *content, - guint txn_id); + JsonNode *content); void (*send_message)(MatrixAPI *api, MatrixAPICallback callback, gpointer user_data, @@ -202,8 +201,7 @@ void matrix_api_send_message_event(MatrixAPI *api, gpointer user_data, gchar *room_id, gchar *event_type, - JsonNode *content, - guint txn_id); + JsonNode *content); void matrix_api_send_message(MatrixAPI *api, MatrixAPICallback callback, gpointer user_data,