Matrix: Fix user storage

This commit is contained in:
Harvey Tindall
2021-05-29 19:50:33 +01:00
parent 4e826f4167
commit 9bd6abadf4
2 changed files with 10 additions and 3 deletions
+4
View File
@@ -354,6 +354,10 @@ func start(asDaemon, firstCall bool) {
if err := app.storage.loadDiscordUsers(); err != nil {
app.err.Printf("Failed to load Discord users: %v", err)
}
app.storage.matrix_path = app.config.Section("files").Key("matrix_users").String()
if err := app.storage.loadMatrixUsers(); err != nil {
app.err.Printf("Failed to load Matrix users: %v", err)
}
app.storage.profiles_path = app.config.Section("files").Key("user_profiles").String()
app.storage.loadProfiles()