Fix return value type of Client.get_user_presence()

This commit is contained in:
Gergely Polonkai 2016-03-17 17:03:03 +01:00 committed by Gergely Polonkai
parent 3bc8735eb5
commit 9f236de0b9
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ public interface Matrix.Client : GLib.Object {
* state is not cached yet, Matrix.Error.UNAVAILABLE is
* thrown.
*/
public abstract Presence?
public abstract Presence
get_user_presence(string user_id, string? room_id = null)
throws Matrix.Error;
}

View File

@ -420,7 +420,7 @@ public class Matrix.HTTPClient : Matrix.HTTPAPI, Matrix.Client {
"Per-room profiles are not supported yet.");
}
public Presence?
public Presence
get_user_presence(string user_id, string? room_id = null)
throws Matrix.Error
{