summaryrefslogtreecommitdiff
path: root/internal/processing/account/import.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-09-16 20:39:15 +0200
committerLibravatar GitHub <noreply@github.com>2024-09-16 20:39:15 +0200
commitd4d6631435f3a5870fecc870ffe5be84d980ab4c (patch)
tree514a282415d62f5665f417af6334f53f09e72668 /internal/processing/account/import.go
parent[performance] cache more database calls, reduce required database calls overa... (diff)
downloadgotosocial-d4d6631435f3a5870fecc870ffe5be84d980ab4c.tar.xz
[bugfix] Be more lenient when parsing mastodown following.csv (#3311)
* [bugfix] Be more lenient when parsing mastodown following.csv * use follow.Notify
Diffstat (limited to 'internal/processing/account/import.go')
-rw-r--r--internal/processing/account/import.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/processing/account/import.go b/internal/processing/account/import.go
index 200d971b8..68e843cfa 100644
--- a/internal/processing/account/import.go
+++ b/internal/processing/account/import.go
@@ -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())