diff options
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/processing/fromcommon.go | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/processing/fromcommon.go b/internal/processing/fromcommon.go index 2cac20193..fca23304c 100644 --- a/internal/processing/fromcommon.go +++ b/internal/processing/fromcommon.go @@ -203,6 +203,11 @@ func (p *processor) notifyFollow(ctx context.Context, follow *gtsmodel.Follow, t  }  func (p *processor) notifyFave(ctx context.Context, fave *gtsmodel.StatusFave) error { +	// ignore self-faves +	if fave.TargetAccountID == fave.AccountID { +		return nil +	} +  	if fave.TargetAccount == nil {  		a, err := p.db.GetAccountByID(ctx, fave.TargetAccountID)  		if err != nil {  | 
