Matrix: Add token generation wizard

Pressing the "+" next to matrix in settings allows you to enter a
homeserver, username and password to enable matrix and generate an
access token.
This commit is contained in:
Harvey Tindall
2021-05-30 23:09:20 +01:00
parent 75fdf6ec3d
commit 375022ba95
9 changed files with 144 additions and 4 deletions
+6
View File
@@ -299,3 +299,9 @@ type MatrixConnectUserDTO struct {
JellyfinID string `json:"jf_id"`
UserID string `json:"user_id"`
}
type MatrixLoginDTO struct {
Homeserver string `json:"homeserver"`
Username string `json:"username"`
Password string `json:"password"`
}