Fix: Use correct database method to get actor IRI

このコミットが含まれているのは:
Andreas Schärtl 2020-04-01 14:48:39 +02:00
コミット 2efc3220fa
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -458,7 +458,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