mirror of
https://github.com/syncthing/syncthing.git
synced 2026-01-31 09:11:26 -05:00
The check in ClusterConfig() when iterating through announced devices in a folder explicitly skips entries without a non-zero IndexID. Therefore, the check for IndexID == 0 just below will never be true and the intended cleanup of local index data will not happen. Plainly remove that check to make the intended case distinction work.