* Fix #7895

* CHANGELOG
This commit is contained in:
MeiMei 2021-10-31 15:18:46 +09:00 committed by GitHub
parent fa0814f939
commit f47a564819
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 3 deletions

View file

@ -7,7 +7,8 @@ export default (object: any, user: { id: User['id'] }) => {
actor: `${config.url}/users/${user.id}`,
type: 'Update',
to: [ 'https://www.w3.org/ns/activitystreams#Public' ],
object
object,
published: new Date().toISOString(),
} as any;
return activity;