Fix return value type of Client.get_user_presence()
This commit is contained in:
parent
3bc8735eb5
commit
9f236de0b9
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user