[AP] cleaner add and remove comments

This commit is contained in:
les
2019-09-11 13:12:05 +02:00
parent 939e19bb0d
commit 93baf01a55
7 changed files with 63 additions and 27 deletions

View File

@@ -57,11 +57,11 @@ module.exports = (sequelize, DataTypes) => {
}
return {
id: `${config.baseurl}/federation/m/c_${this.id}`,
type: 'Create',
actor: `${config.baseurl}/federation/u/${username}`,
url: `${config.baseurl}/federation/m/${this.id}`,
object: {
// id: `${config.baseurl}/federation/m/c_${this.id}`,
// type: 'Create',
// actor: `${config.baseurl}/federation/u/${username}`,
// url: `${config.baseurl}/federation/m/${this.id}`,
// object: {
attachment,
tag: this.tags.map(tag => ({
type: 'Hashtag',