Fixed bug where incorrect parent attributed to actor was named.

This commit is contained in:
Nick Gerakines 2020-04-03 17:36:03 -04:00
parent cd3d35e481
commit a55bac91ee
No known key found for this signature in database
GPG Key ID: 33D43D854F96B2E4
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ func (h handler) displayObjectFeed(c *gin.Context, requireUser bool, vars map[st
viewContext.ParentAttributedToLink = inReplyToAuthor
viewContext.ParentAttributedTo = inReplyToAuthor
if actorName, foundActorName := actorNames[attributedTo]; foundActorName {
if actorName, foundActorName := actorNames[inReplyToAuthor]; foundActorName {
viewContext.ParentAttributedTo = actorName
}