Rename Matrix.API.set_user_presence to set_presence
This is to keep consistency
This commit is contained in:
parent
8d725d9f34
commit
cf53bfa686
@ -194,7 +194,7 @@ public interface Matrix.API : GLib.Object {
|
|||||||
* @param status_message a status message attached to this state
|
* @param status_message a status message attached to this state
|
||||||
*/
|
*/
|
||||||
public abstract void
|
public abstract void
|
||||||
set_user_presence([CCode (delegate_target_pos = 1.5, scope = "async")]
|
set_presence([CCode (delegate_target_pos = 1.5, scope = "async")]
|
||||||
owned Matrix.API.Callback? @callback,
|
owned Matrix.API.Callback? @callback,
|
||||||
string user_id,
|
string user_id,
|
||||||
Matrix.Presence presence,
|
Matrix.Presence presence,
|
||||||
|
@ -617,7 +617,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void
|
public void
|
||||||
set_user_presence(API.Callback? cb,
|
set_presence(API.Callback? cb,
|
||||||
string user_id,
|
string user_id,
|
||||||
Presence presence,
|
Presence presence,
|
||||||
string? status_message)
|
string? status_message)
|
||||||
|
Loading…
Reference in New Issue
Block a user