mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Don't store remote rates of remote videos
In the future we'll stop to expose all available rates to improve users privacy
This commit is contained in:
parent
2e3f7a5a6f
commit
57e4e1c1a9
44 changed files with 402 additions and 338 deletions
|
@ -1,10 +1,10 @@
|
|||
import { Transaction } from 'sequelize'
|
||||
import { ActivityAudience, ActivityFlag } from '../../../../shared/models/activitypub'
|
||||
import { ActivityAudience, ActivityFlag } from '@shared/models'
|
||||
import { logger } from '../../../helpers/logger'
|
||||
import { MAbuseAP, MAccountLight, MActor } from '../../../types/models'
|
||||
import { audiencify, getAudience } from '../audience'
|
||||
import { getLocalAbuseActivityPubUrl } from '../url'
|
||||
import { unicastTo } from './utils'
|
||||
import { unicastTo } from './shared/send-utils'
|
||||
|
||||
function sendAbuse (byActor: MActor, abuse: MAbuseAP, flaggedAccount: MAccountLight, t: Transaction) {
|
||||
if (!flaggedAccount.Actor.serverId) return // Local user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue