Skip to content
Snippets Groups Projects
Unverified Commit f47a5648 authored by MeiMei's avatar MeiMei Committed by GitHub
Browse files

fix: Fix #7895 (#7937)

* Fix #7895

* CHANGELOG
parent fa0814f9
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,13 @@
-->
## 12.x.x (unreleased)
### Improvements
### Bugfixes
- リレー向けのActivityが一部実装で除外されてしまうことがあるのを修正
## 12.94.1 (2021/10/25)
### Improvements
......
......@@ -4,5 +4,6 @@ import { User } from '@/models/entities/user';
export default (object: any, user: { id: User['id']; host: null }) => ({
type: 'Delete',
actor: `${config.url}/users/${user.id}`,
object
object,
published: new Date().toISOString(),
});
......@@ -7,6 +7,7 @@ export default (object: any, user: { id: User['id'] }) => {
return {
type: 'Undo',
actor: `${config.url}/users/${user.id}`,
object
object,
published: new Date().toISOString(),
};
};
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment