diff --git a/frontend/src/components/ui/Downloads.tsx b/frontend/src/components/ui/Downloads.tsx index 9c3937d..26f9b85 100644 --- a/frontend/src/components/ui/Downloads.tsx +++ b/frontend/src/components/ui/Downloads.tsx @@ -94,23 +94,6 @@ const countryOfPending = ( ).trim() } -const isChaturbateJob = ( - job: RecordJob, - modelsByKey?: Record -): boolean => { - const anyJ = job as any - const src = String(anyJ?.sourceUrl ?? anyJ?.SourceURL ?? '').toLowerCase() - const chat = String(anyJ?.modelChatRoomUrl ?? '').toLowerCase() - const img = onlineImageUrlOfJob(job, modelsByKey).toLowerCase() - - return ( - src.includes('chaturbate.com') || - chat.includes('chaturbate.com') || - img.includes('highwebmedia') || - img.includes('chaturbate') - ) -} - const previewInitialSrcOfJob = ( job: RecordJob, modelsByKey?: Record diff --git a/frontend/src/components/ui/DownloadsCardRow.tsx b/frontend/src/components/ui/DownloadsCardRow.tsx index 90ac438..96e141a 100644 --- a/frontend/src/components/ui/DownloadsCardRow.tsx +++ b/frontend/src/components/ui/DownloadsCardRow.tsx @@ -130,23 +130,6 @@ const modelKeyFromJob = (job: RecordJob): string => { return String(modelNameFromOutput(j.output || '')).trim().toLowerCase() } -const isChaturbateJob = ( - job: RecordJob, - modelsByKey?: Record -): boolean => { - const anyJ = job as any - const src = String(anyJ?.sourceUrl ?? anyJ?.SourceURL ?? '').toLowerCase() - const chat = String(anyJ?.modelChatRoomUrl ?? '').toLowerCase() - const img = onlineImageUrlOfJob(job, modelsByKey).toLowerCase() - - return ( - src.includes('chaturbate.com') || - chat.includes('chaturbate.com') || - img.includes('highwebmedia') || - img.includes('chaturbate') - ) -} - const previewInitialSrcOfJob = ( job: RecordJob, modelsByKey?: Record