diff --git a/src/matrix-api.vala b/src/matrix-api.vala index b399327..71a9a98 100644 --- a/src/matrix-api.vala +++ b/src/matrix-api.vala @@ -761,7 +761,7 @@ public interface Matrix.API : GLib.Object { * @param content the content of the event as a {@link Json.Node} */ public abstract void - send_message_event([CCode (delegate_target_pos = 1.5, scope = "async")] + send_event([CCode (delegate_target_pos = 1.5, scope = "async")] owned Matrix.API.Callback? @callback, string room_id, string event_type, @@ -819,7 +819,7 @@ public interface Matrix.API : GLib.Object { * @param content the content of the state event */ public abstract void - send_room_event([CCode (delegate_target_pos = 1.5, scope = "async")] + send_state_event([CCode (delegate_target_pos = 1.5, scope = "async")] owned Matrix.API.Callback? @callback, string room_id, string event_type, diff --git a/src/matrix-http-api.vala b/src/matrix-http-api.vala index 0bf97ec..b26142a 100644 --- a/src/matrix-http-api.vala +++ b/src/matrix-http-api.vala @@ -1289,7 +1289,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API { } public void - send_message_event(API.Callback? cb, + send_event(API.Callback? cb, string room_id, string event_type, string txn_id, @@ -1330,7 +1330,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API { } public void - send_room_event(API.Callback? cb, + send_state_event(API.Callback? cb, string room_id, string event_type, string? state_key,