Archived
1
This commit is contained in:
Jan-Lukas Else 2020-04-21 00:41:10 +02:00
parent 26c021287a
commit 05362ba66e

View File

@ -133,7 +133,8 @@ func (a *Actor) PostArticle(url string) error {
if err != nil {
return errors.New("failed to decode fetched article")
}
create["object"] = url
// create["object"] = url
create["object"] = article
a.sendToFollowers(create)
// Boost article if it contains "inReplyTo"
if article["inReplyTo"] != nil {