diff --git a/config/config.go b/config/config.go index c8c9282..49383e4 100644 --- a/config/config.go +++ b/config/config.go @@ -53,6 +53,12 @@ func Load() error { } } + // someday i'll bring a proper config library, until then you get this + matrixPassword := os.Getenv("MATRIX_PASSWORD") + if matrixPassword != "" { + C.Matrix.Password = matrixPassword + } + return nil }