Rename Matrix.API.set_user_presence to set_presence

This is to keep consistency
This commit is contained in:
Gergely Polonkai 2016-03-18 17:18:28 +01:00 committed by Gergely Polonkai
parent 8d725d9f34
commit cf53bfa686
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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)