From cf53bfa68689cc672cc4aa1ce7de77cec558d84f Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 18 Mar 2016 17:18:28 +0100 Subject: [PATCH] Rename Matrix.API.set_user_presence to set_presence This is to keep consistency --- src/matrix-api.vala | 2 +- src/matrix-http-api.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix-api.vala b/src/matrix-api.vala index bd436fb..b399327 100644 --- a/src/matrix-api.vala +++ b/src/matrix-api.vala @@ -194,7 +194,7 @@ public interface Matrix.API : GLib.Object { * @param status_message a status message attached to this state */ 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, string user_id, Matrix.Presence presence, diff --git a/src/matrix-http-api.vala b/src/matrix-http-api.vala index 1b6324c..0bf97ec 100644 --- a/src/matrix-http-api.vala +++ b/src/matrix-http-api.vala @@ -617,7 +617,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API { } public void - set_user_presence(API.Callback? cb, + set_presence(API.Callback? cb, string user_id, Presence presence, string? status_message)