summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/WebhookTestService.ts
diff options
context:
space:
mode:
authorpiuvas <mail@piuvas.net>2025-06-03 10:56:10 -0300
committerpiuvas <mail@piuvas.net>2025-06-03 10:56:10 -0300
commit1120ad19ae16969e552d895c72ee802f47d26c25 (patch)
treeaa4a13d4cf5c508a215d2faca56123eb44ac21aa /packages/backend/src/core/WebhookTestService.ts
parentcheck for whitespace in instance mutes. (diff)
parentmerge: allow fragments in AP ID URLs - fixes polls (!1076) (diff)
downloadsharkey-1120ad19ae16969e552d895c72ee802f47d26c25.tar.gz
sharkey-1120ad19ae16969e552d895c72ee802f47d26c25.tar.bz2
sharkey-1120ad19ae16969e552d895c72ee802f47d26c25.zip
merge develop and fix conflicts.
Diffstat (limited to 'packages/backend/src/core/WebhookTestService.ts')
-rw-r--r--packages/backend/src/core/WebhookTestService.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/backend/src/core/WebhookTestService.ts b/packages/backend/src/core/WebhookTestService.ts
index 406998dbc7..8c1508df24 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,
@@ -115,10 +116,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,
@@ -450,6 +454,7 @@ export class WebhookTestService {
isAdmin: false,
isModerator: false,
isSystem: false,
+ instance: undefined,
...override,
};
}