[bugfix] Be more lenient when parsing mastodown following.csv (#3311)

* [bugfix] Be more lenient when parsing mastodown following.csv

* use follow.Notify
This commit is contained in:
tobi
2024-09-16 20:39:15 +02:00
committed by GitHub
parent 84279f6a6a
commit d4d6631435
3 changed files with 58 additions and 10 deletions

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())