Matrix: Connect on accounts tab, customizable chat topic

This commit is contained in:
Harvey Tindall
2021-05-30 11:47:41 +01:00
parent 59ebf52fe2
commit 75fdf6ec3d
7 changed files with 102 additions and 7 deletions
+2
View File
@@ -84,6 +84,8 @@ func (app *appContext) loadConfig() error {
app.MustSetValue("user_expiry", "email_html", "jfa-go:"+"user-expired.html")
app.MustSetValue("user_expiry", "email_text", "jfa-go:"+"user-expired.txt")
app.MustSetValue("matrix", "topic", "Jellyfin notifications")
app.config.Section("jellyfin").Key("version").SetValue(version)
app.config.Section("jellyfin").Key("device").SetValue("jfa-go")
app.config.Section("jellyfin").Key("device_id").SetValue(fmt.Sprintf("jfa-go-%s-%s", version, commit))