mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-29 16:06:16 -06:00
add missing (my bad!) federating wrapped callbacks behaviour
This commit is contained in:
parent
3be7f3866a
commit
bdbb20401b
1 changed files with 9 additions and 1 deletions
|
|
@ -80,7 +80,15 @@ func NewFederator(
|
||||||
),
|
),
|
||||||
|
|
||||||
// prepared response to FederatingCallbacks()
|
// prepared response to FederatingCallbacks()
|
||||||
wrapped: pub.FederatingWrappedCallbacks{},
|
wrapped: pub.FederatingWrappedCallbacks{
|
||||||
|
|
||||||
|
// OnFollow determines what action to take for this
|
||||||
|
// particular callback if a Follow Activity is handled.
|
||||||
|
//
|
||||||
|
// For our implementation, we always want to do nothing
|
||||||
|
// because we have internal logic for handling follows.
|
||||||
|
OnFollow: pub.OnFollowDoNothing,
|
||||||
|
},
|
||||||
callback: []any{
|
callback: []any{
|
||||||
federatingDB.Like,
|
federatingDB.Like,
|
||||||
federatingDB.Block,
|
federatingDB.Block,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue