diff options
Diffstat (limited to 'server/helpers/custom-validators/activitypub/announce.ts')
-rw-r--r-- | server/helpers/custom-validators/activitypub/announce.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/custom-validators/activitypub/announce.ts b/server/helpers/custom-validators/activitypub/announce.ts index 469ed5127..1baea4f60 100644 --- a/server/helpers/custom-validators/activitypub/announce.ts +++ b/server/helpers/custom-validators/activitypub/announce.ts | |||
@@ -5,8 +5,8 @@ function isAnnounceActivityValid (activity: any) { | |||
5 | console.log(activity) | 5 | console.log(activity) |
6 | return isBaseActivityValid(activity, 'Announce') && | 6 | return isBaseActivityValid(activity, 'Announce') && |
7 | ( | 7 | ( |
8 | isActivityPubUrlValid(activity.object) || | 8 | isVideoTorrentCreateActivityValid(activity.object) || |
9 | isVideoTorrentCreateActivityValid(activity.object) | 9 | isActivityPubUrlValid(activity.object) |
10 | ) | 10 | ) |
11 | } | 11 | } |
12 | 12 | ||