mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 02:26:16 -06:00
remove type switch in Create() and instead move to FederatedCallbacks()
This commit is contained in:
parent
7b7fc528f1
commit
3be7f3866a
13 changed files with 581 additions and 432 deletions
|
|
@ -38,6 +38,9 @@ import (
|
|||
func (f *federatingDB) Move(ctx context.Context, move vocab.ActivityStreamsMove) error {
|
||||
log.DebugKV(ctx, "move", serialize{move})
|
||||
|
||||
// Mark activity as handled.
|
||||
f.storeActivityID(move)
|
||||
|
||||
activityContext := getActivityContext(ctx)
|
||||
if activityContext.internal {
|
||||
// Already processed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue