Merge branch 'ChristianPauly-master-patch-33412' into 'master'

Fix request openID

See merge request famedly/famedlysdk!339
This commit is contained in:
Sorunome 2020-06-09 16:11:28 +00:00
commit cf56e81850

View file

@ -1972,6 +1972,7 @@ class MatrixApi {
final response = await request( final response = await request(
RequestType.POST, RequestType.POST,
'/client/r0/user/${Uri.encodeComponent(userId)}/openid/request_token', '/client/r0/user/${Uri.encodeComponent(userId)}/openid/request_token',
data: {},
); );
return OpenIdCredentials.fromJson(response); return OpenIdCredentials.fromJson(response);
} }