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); false, username, password);
} }
public void public new void
logout() logout()
throws Matrix.Error throws Matrix.Error
{ {
token = null; ((Matrix.API)this).logout(
refresh_token = null; () => {
abort_pending(); token = null;
refresh_token = null;
abort_pending();
});
} }
private void private void