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) ProcessFromClientAPI(ctx context.Context, clientMsg messages
return errors.New("fave was not parseable as *gtsmodel.StatusFave")
}
if err := p.notifyFave(ctx, fave, clientMsg.TargetAccount); err != nil {
if err := p.notifyFave(ctx, fave); err != nil {
return err
}