diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-06-01 17:25:52 +0000 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-06-01 17:25:52 +0000 |
| commit | e1504cfb88d047acbfc5c08bcf790c0a08875ee9 (patch) | |
| tree | 074df46515fd4ddd4a6bdf7b0a1af57fcb663291 /packages/backend/src/core/WebhookTestService.ts | |
| parent | merge: fix DeepLX (!1077) (diff) | |
| parent | exclude local notes from bubble timeline (diff) | |
| download | sharkey-e1504cfb88d047acbfc5c08bcf790c0a08875ee9.tar.gz sharkey-e1504cfb88d047acbfc5c08bcf790c0a08875ee9.tar.bz2 sharkey-e1504cfb88d047acbfc5c08bcf790c0a08875ee9.zip | |
merge: Persisted instance blocks (!1068)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1068
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
Diffstat (limited to 'packages/backend/src/core/WebhookTestService.ts')
| -rw-r--r-- | packages/backend/src/core/WebhookTestService.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/backend/src/core/WebhookTestService.ts b/packages/backend/src/core/WebhookTestService.ts index 2f8cfea7f7..afd011c410 100644 --- a/packages/backend/src/core/WebhookTestService.ts +++ b/packages/backend/src/core/WebhookTestService.ts @@ -63,6 +63,7 @@ function generateDummyUser(override?: Partial<MiUser>): MiUser { emojis: [], score: 0, host: null, + instance: null, inbox: null, sharedInbox: null, featured: null, @@ -114,10 +115,13 @@ function generateDummyNote(override?: Partial<MiNote>): MiNote { channelId: null, channel: null, userHost: null, + userInstance: null, replyUserId: null, replyUserHost: null, + replyUserInstance: null, renoteUserId: null, renoteUserHost: null, + renoteUserInstance: null, updatedAt: null, processErrors: [], ...override, @@ -449,6 +453,7 @@ export class WebhookTestService { isAdmin: false, isModerator: false, isSystem: false, + instance: undefined, ...override, }; } |