Merge login data types

This commit is contained in:
nxshock 2019-07-20 11:14:35 +05:00
parent b0ac28ab22
commit 35f75a6ddd
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +0,0 @@
package login
type GetLoginReply struct {
Flows []Flow `json:"flows"` // The homeserver's supported login types
}

View File

@ -13,3 +13,8 @@ type LoginReply struct {
type Flow struct {
Type common.AuthenticationType `json:"type"`
}
// https://matrix.org/docs/spec/client_server/latest#get-matrix-client-r0-login
type GetLoginReply struct {
Flows []Flow `json:"flows"` // The homeserver's supported login types
}