diff --git a/internal/models/login/get_login_flows.go b/internal/models/login/get_login_flows.go deleted file mode 100644 index db8a7bd..0000000 --- a/internal/models/login/get_login_flows.go +++ /dev/null @@ -1,5 +0,0 @@ -package login - -type GetLoginReply struct { - Flows []Flow `json:"flows"` // The homeserver's supported login types -} diff --git a/internal/models/login/reply.go b/internal/models/login/reply.go index 8a0e61f..4098df9 100644 --- a/internal/models/login/reply.go +++ b/internal/models/login/reply.go @@ -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 +}