Added settings patch

This commit is contained in:
Eduard Urbach 2017-11-20 16:37:39 +01:00
parent c0adc13e32
commit 2983a5a8b0

View File

@ -0,0 +1,13 @@
package main
import "github.com/animenotifier/arn"
func main() {
defer arn.Node.Close()
for user := range arn.StreamUsers() {
settings := user.Settings()
settings.NotificationEmail = user.Email
settings.Save()
}
}