Rename Matrix.API.get_user_presence() to get_presence()

This is for not to clash with future Matrix.Client.get_user_presence()
and to comply with Matrix.API.get_profile() which has similar
functionality.
This commit is contained in:
2016-03-14 22:33:36 +00:00
parent f1d1eda2e4
commit 04950f8c34
3 changed files with 5 additions and 5 deletions

View File

@@ -591,7 +591,7 @@ public class Matrix.HTTPAPI : GLib.Object, Matrix.API {
}
public void
get_user_presence(API.Callback? cb,
get_presence(API.Callback? cb,
string user_id)
throws Matrix.Error
{