Update Matrix.API to comply with the current spec

This commit is contained in:
Gergely Polonkai 2017-10-28 07:59:14 +02:00
parent e77e6473b8
commit 5bc80a215f

View File

@ -73,13 +73,16 @@ public class Matrix.HTTPClient : Matrix.HTTPAPI, Matrix.Client {
false, username, password);
}
public void
public new void
logout()
throws Matrix.Error
{
token = null;
refresh_token = null;
abort_pending();
((Matrix.API)this).logout(
() => {
token = null;
refresh_token = null;
abort_pending();
});
}
private void