mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 17:07:28 -06:00
remote boosts incoming now working
This commit is contained in:
parent
40add68691
commit
a47085d141
12 changed files with 412 additions and 13 deletions
|
|
@ -257,6 +257,10 @@ func (f *federator) FederatingCallbacks(ctx context.Context) (wrapped pub.Federa
|
|||
func(ctx context.Context, accept vocab.ActivityStreamsAccept) error {
|
||||
return f.FederatingDB().Accept(ctx, accept)
|
||||
},
|
||||
// override default announce behavior and trigger our own side effects
|
||||
func(ctx context.Context, announce vocab.ActivityStreamsAnnounce) error {
|
||||
return f.FederatingDB().Announce(ctx, announce)
|
||||
},
|
||||
}
|
||||
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue