Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix setting default activity tracking (#301)
Fixes #299 Tracking activity was changed to default to `true` in stashapp/stash#4710, but this app would default it to `false` if the server didn't provide a value. The server won't provide a value by default until the user explicitly changes the setting. This means, for example, a brand new install of server version `0.26.1` would have server-side tracking enabled but would not provide the value in the UI config query. So this app would read it as a `null` value and translate that to `false`. This PR fixes this behavior so that if the server is at least `0.26.0` and no value is provided by the server, it will default to true.
- Loading branch information