jlelse
/
jsonpub
Archived
1
Fork 0
This commit is contained in:
Jan-Lukas Else 2020-04-21 00:41:10 +02:00
parent 26c021287a
commit 05362ba66e
1 changed files with 2 additions and 1 deletions

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 {