summaryrefslogtreecommitdiff
path: root/internal/processing/report/create.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-01-27 14:48:11 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-27 14:48:11 +0100
commit3283900b0d0b98e5ca956f61ce09ab373cf0cbe8 (patch)
treef7dc654ea2d510e0c02d63d8a174908f1e25c680 /internal/processing/report/create.go
parent[docs] Add Flag documentation to federation docs (#1393) (diff)
downloadgotosocial-3283900b0d0b98e5ca956f61ce09ab373cf0cbe8.tar.xz
[feature] Federate reports to remote instance as Flag (if desired) (#1386)
* reports federate out, we did it lxds * fix optional line start (should be optional slash)
Diffstat (limited to 'internal/processing/report/create.go')
-rw-r--r--internal/processing/report/create.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/processing/report/create.go b/internal/processing/report/create.go
index ac4c4390d..cc2f2405c 100644
--- a/internal/processing/report/create.go
+++ b/internal/processing/report/create.go
@@ -91,6 +91,7 @@ func (p *processor) Create(ctx context.Context, account *gtsmodel.Account, form
APActivityType: ap.ActivityFlag,
GTSModel: report,
OriginAccount: account,
+ TargetAccount: targetAccount,
})
apiReport, err := p.tc.ReportToAPIReport(ctx, report)