This commit is contained in:
lesion
2019-07-31 01:50:55 +02:00
parent 547cf3e8b7
commit 940eaead77
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ module.exports = (sequelize, DataTypes) => {
published: this.createdAt,
attributedTo: `${config.baseurl}/federation/u/${username}`,
to: 'https://www.w3.org/ns/activitystreams#Public',
cc: [follower],
cc: follower ? follower: [],
content: this.title
}
}