diff --git a/routers/api/v1/activitypub/create.go b/routers/api/v1/activitypub/create.go index 8a2f77398..38ee898e3 100644 --- a/routers/api/v1/activitypub/create.go +++ b/routers/api/v1/activitypub/create.go @@ -55,11 +55,12 @@ func createPerson(ctx context.Context, person *ap.Person) error { } user := &user_model.User{ - Name: name, - FullName: person.Name.String(), // May not exist!! - Email: email, - LoginType: auth.Federated, - LoginName: person.GetLink().String(), + Name: name, + FullName: person.Name.String(), // May not exist!! + Email: email, + LoginType: auth.Federated, + LoginName: person.GetLink().String(), + EmailNotificationsPreference: user_model.EmailNotificationsDisabled, } err = user_model.CreateUser(user) if err != nil {