Rename API.send_message_event and API.send_room_event
This is to avoid confusion. * send_message_event became send_event * send_room_event became send_state_event
This commit is contained in:
parent
b125086669
commit
161c171144
@ -761,7 +761,7 @@ public interface Matrix.API : GLib.Object {
|
|||||||
* @param content the content of the event as a {@link Json.Node}
|
* @param content the content of the event as a {@link Json.Node}
|
||||||
*/
|
*/
|
||||||
public abstract void
|
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,
|
owned Matrix.API.Callback? @callback,
|
||||||
string room_id,
|
string room_id,
|
||||||
string event_type,
|
string event_type,
|
||||||
@ -819,7 +819,7 @@ public interface Matrix.API : GLib.Object {
|
|||||||
* @param content the content of the state event
|
* @param content the content of the state event
|
||||||
*/
|
*/
|
||||||
public abstract void
|
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,
|
owned Matrix.API.Callback? @callback,
|
||||||
string room_id,
|
string room_id,
|
||||||
string event_type,
|
string event_type,
|
||||||
|
@ -1289,7 +1289,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void
|
public void
|
||||||
send_message_event(API.Callback? cb,
|
send_event(API.Callback? cb,
|
||||||
string room_id,
|
string room_id,
|
||||||
string event_type,
|
string event_type,
|
||||||
string txn_id,
|
string txn_id,
|
||||||
@ -1330,7 +1330,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void
|
public void
|
||||||
send_room_event(API.Callback? cb,
|
send_state_event(API.Callback? cb,
|
||||||
string room_id,
|
string room_id,
|
||||||
string event_type,
|
string event_type,
|
||||||
string? state_key,
|
string? state_key,
|
||||||
|
Loading…
Reference in New Issue
Block a user