Merge pull request #135 from kissen/fix/likecallback

Fix: Use correct database method to get actor IRI
This commit is contained in:
Cory J Slep 2020-05-26 08:06:34 +02:00 committed by GitHub
commit 91fc2338f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ func (w SocialWrappedCallbacks) like(c context.Context, a vocab.ActivityStreamsL
return err
}
// WARNING: Unlock not deferred.
actorIRI, err := w.db.ActorForInbox(c, w.outboxIRI)
actorIRI, err := w.db.ActorForOutbox(c, w.outboxIRI)
if err != nil {
w.db.Unlock(c, w.outboxIRI)
return err