Merge pull request #1448 from vector-im/feature/fix

Feature/fix
This commit is contained in:
Benoit Marty 2020-06-08 18:10:06 +02:00 committed by GitHub
commit 62f352243d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@ Bugfix 🐛:
- Fix navigation bar icon contrast on API in [21,27[ (#1342) - Fix navigation bar icon contrast on API in [21,27[ (#1342)
- Fix status bar icon contrast on API in [21,23[ - Fix status bar icon contrast on API in [21,23[
- Wrong /query request (#1444) - Wrong /query request (#1444)
- Make Credentials.homeServer optional because it is deprecated (#1443)
Translations 🗣: Translations 🗣:
- -

View File

@ -45,7 +45,7 @@ data class Credentials(
* @Deprecated. Clients should extract the server_name from user_id (by splitting at the first colon) * @Deprecated. Clients should extract the server_name from user_id (by splitting at the first colon)
* if they require it. Note also that homeserver is not spelt this way. * if they require it. Note also that homeserver is not spelt this way.
*/ */
@Json(name = "home_server") val homeServer: String, @Json(name = "home_server") val homeServer: String?,
/** /**
* ID of the logged-in device. Will be the same as the corresponding parameter in the request, if one was specified. * ID of the logged-in device. Will be the same as the corresponding parameter in the request, if one was specified.
*/ */

View File

@ -27,7 +27,7 @@ internal interface WidgetsAPI {
/** /**
* register to the server * register to the server
* *
* @param requestOpenIdTokenResponse the body content (Ref: https://github.com/matrix-org/matrix-doc/pull/1961) * @param body the body content (Ref: https://github.com/matrix-org/matrix-doc/pull/1961)
*/ */
@POST("register") @POST("register")
fun register(@Body body: RequestOpenIdTokenResponse, @Query("v") version: String?): Call<RegisterWidgetResponse> fun register(@Body body: RequestOpenIdTokenResponse, @Query("v") version: String?): Call<RegisterWidgetResponse>