mirror of
https://github.com/syncthing/syncthing.git
synced 2026-10-23 03:34:29 -04:00
lib/model: Fix panic when auto-accepting existing paused folder (fixes #4636)
This no longer pokes at model internals, and only touches the config. As a result, model handles this in CommitConfiguration, which restarts the folders if things change, which repopulate m.folderDevice, m.deviceFolder and other interal mappings. GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4639
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f