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
parent c7cfbe2702
commit b3fd9c39a3
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: