2018-03-15 20:08:30 +00:00
|
|
|
package main
|
|
|
|
|
2019-06-03 09:32:43 +00:00
|
|
|
import "github.com/animenotifier/notify.moe/arn"
|
2018-03-15 20:08:30 +00:00
|
|
|
|
|
|
|
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()
|
|
|
|
}
|
|
|
|
}
|