summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/renderer/undo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub/renderer/undo.ts')
-rw-r--r--src/remote/activitypub/renderer/undo.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/remote/activitypub/renderer/undo.ts b/src/remote/activitypub/renderer/undo.ts
deleted file mode 100644
index 14115b788d..0000000000
--- a/src/remote/activitypub/renderer/undo.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import config from '@/config/index';
-import { ILocalUser, User } from '@/models/entities/user';
-
-export default (object: any, user: { id: User['id'] }) => {
- if (object == null) return null;
-
- return {
- type: 'Undo',
- actor: `${config.url}/users/${user.id}`,
- object,
- published: new Date().toISOString(),
- };
-};