use follow.Notify

This commit is contained in:
tobi 2024-09-16 20:22:58 +02:00
commit a49f1928dc

View file

@ -188,6 +188,10 @@ func importFollowingAsyncF(
// Show reblogs on
// the new follow.
showReblogs = follow.ShowReblogs
// Notify when new
// follow posts.
notify = follow.Notify
)
if overwrite {
@ -218,6 +222,7 @@ func importFollowingAsyncF(
&apimodel.AccountFollowRequest{
ID: targetAcct.ID,
Reblogs: showReblogs,
Notify: notify,
},
); errWithCode != nil {
log.Errorf(ctx, "could not follow account: %v", errWithCode.Unwrap())