2018-11-06 10:45:03 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/animenotifier/arn"
|
2019-04-23 05:45:17 +00:00
|
|
|
"github.com/akyoto/color"
|
2018-11-06 10:45:03 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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()
|
|
|
|
}
|
|
|
|
}
|