Remove txn_id parameters from the base Matrix API
It will be set internally and won’t be exposed to the public (yet).
This commit is contained in:
parent
32a694cf23
commit
51d8fd6d6b
@ -455,7 +455,6 @@ matrix_api_send_message(MatrixAPI *api,
|
|||||||
* @room_id: the room to send the emote to
|
* @room_id: the room to send the emote to
|
||||||
* @event_type: the type of the event to send
|
* @event_type: the type of the event to send
|
||||||
* @content: the content of the event as a #JsonNode
|
* @content: the content of the event as a #JsonNode
|
||||||
* @txn_id: the transaction ID to use
|
|
||||||
*
|
*
|
||||||
* Send a message event to the room.
|
* Send a message event to the room.
|
||||||
*/
|
*/
|
||||||
@ -465,8 +464,7 @@ matrix_api_send_message_event(MatrixAPI *api,
|
|||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
gchar *room_id,
|
gchar *room_id,
|
||||||
gchar *event_type,
|
gchar *event_type,
|
||||||
JsonNode *content,
|
JsonNode *content)
|
||||||
guint txn_id)
|
|
||||||
{
|
{
|
||||||
g_return_if_fail(MATRIX_IS_API(api));
|
g_return_if_fail(MATRIX_IS_API(api));
|
||||||
|
|
||||||
@ -475,8 +473,7 @@ matrix_api_send_message_event(MatrixAPI *api,
|
|||||||
callback, user_data,
|
callback, user_data,
|
||||||
room_id,
|
room_id,
|
||||||
event_type,
|
event_type,
|
||||||
content,
|
content);
|
||||||
txn_id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -81,8 +81,7 @@ struct _MatrixAPIInterface {
|
|||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
gchar *room_id,
|
gchar *room_id,
|
||||||
gchar *event_type,
|
gchar *event_type,
|
||||||
JsonNode *content,
|
JsonNode *content);
|
||||||
guint txn_id);
|
|
||||||
void (*send_message)(MatrixAPI *api,
|
void (*send_message)(MatrixAPI *api,
|
||||||
MatrixAPICallback callback,
|
MatrixAPICallback callback,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
@ -202,8 +201,7 @@ void matrix_api_send_message_event(MatrixAPI *api,
|
|||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
gchar *room_id,
|
gchar *room_id,
|
||||||
gchar *event_type,
|
gchar *event_type,
|
||||||
JsonNode *content,
|
JsonNode *content);
|
||||||
guint txn_id);
|
|
||||||
void matrix_api_send_message(MatrixAPI *api,
|
void matrix_api_send_message(MatrixAPI *api,
|
||||||
MatrixAPICallback callback,
|
MatrixAPICallback callback,
|
||||||
gpointer user_data,
|
gpointer user_data,
|
||||||
|
Loading…
Reference in New Issue
Block a user