Weird notif issue (#248)

* start working on weird issue

* go fmt ./...

* more tests
This commit is contained in:
tobi 2021-09-27 17:42:20 +02:00 committed by GitHub
commit b3fd9c39a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 138 additions and 4 deletions

View file

@ -73,7 +73,7 @@ func (p *processor) ProcessFromFederator(ctx context.Context, federatorMsg messa
return errors.New("like was not parseable as *gtsmodel.StatusFave")
}
if err := p.notifyFave(ctx, incomingFave, federatorMsg.ReceivingAccount); err != nil {
if err := p.notifyFave(ctx, incomingFave); err != nil {
return err
}
case ap.ActivityFollow: