Added patch to reset privacy settings

This commit is contained in:
Eduard Urbach 2018-11-06 19:45:03 +09:00
parent 025e90439d
commit ba3a754d15

View File

@ -0,0 +1,19 @@
package main
import (
"github.com/animenotifier/arn"
"github.com/fatih/color"
)
func main() {
color.Yellow("Resetting location privacy to enabled")
defer color.Green("Finished.")
defer arn.Node.Close()
for user := range arn.StreamUsers() {
settings := user.Settings()
settings.Privacy.ShowLocation = true
settings.Save()
}
}