20 lines
582 B
Go
Raw Normal View History

2018-03-15 20:08:30 +00:00
package main
import "github.com/animenotifier/arn"
func main() {
defer arn.Node.Close()
for user := range arn.StreamUsers() {
settings := user.Settings()
2018-03-20 18:18:30 +00:00
defaultSettings := arn.DefaultNotificationSettings()
settings.Notification.QuoteLikes = defaultSettings.QuoteLikes
settings.Notification.SoundTrackLikes = defaultSettings.SoundTrackLikes
settings.Notification.GroupPostLikes = defaultSettings.GroupPostLikes
settings.Notification.ForumLikes = defaultSettings.ForumLikes
settings.Notification.NewFollowers = defaultSettings.NewFollowers
2018-03-15 20:08:30 +00:00
settings.Save()
}
}