matrix: switch to mautrix-go

hopefully this can be used to support end-to-end encryption.
This commit is contained in:
Harvey Tindall
2021-07-13 14:53:33 +01:00
parent 51768958c6
commit 30198fab87
4 changed files with 88 additions and 49 deletions

2
api.go
View File

@@ -2579,7 +2579,7 @@ func (app *appContext) MatrixConnect(gc *gin.Context) {
}
app.storage.matrix[req.JellyfinID] = MatrixUser{
UserID: req.UserID,
RoomID: roomID,
RoomID: string(roomID),
Lang: "en-us",
Contact: true,
}