20 lines
354 B
Go
20 lines
354 B
Go
package main
|
|
|
|
import (
|
|
"github.com/akyoto/color"
|
|
"github.com/animenotifier/notify.moe/arn"
|
|
)
|
|
|
|
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()
|
|
}
|
|
}
|