Update Matrix.API to comply with the current spec
This commit is contained in:
parent
e77e6473b8
commit
5bc80a215f
@ -73,13 +73,16 @@ public class Matrix.HTTPClient : Matrix.HTTPAPI, Matrix.Client {
|
|||||||
false, username, password);
|
false, username, password);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void
|
public new void
|
||||||
logout()
|
logout()
|
||||||
throws Matrix.Error
|
throws Matrix.Error
|
||||||
{
|
{
|
||||||
|
((Matrix.API)this).logout(
|
||||||
|
() => {
|
||||||
token = null;
|
token = null;
|
||||||
refresh_token = null;
|
refresh_token = null;
|
||||||
abort_pending();
|
abort_pending();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void
|
private void
|
||||||
|
Loading…
Reference in New Issue
Block a user