mirror of https://gitlab.com/ngerakines/tavern.git
Fixed bug where incorrect parent attributed to actor was named.
This commit is contained in:
parent
cd3d35e481
commit
a55bac91ee
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue