1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Add rejected state to follows

Prevent reprocessing already rejected follows
This commit is contained in:
Chocobozzz 2022-07-26 14:46:15 +02:00
parent 0f58b11f5c
commit 927fa4b11f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
12 changed files with 266 additions and 54 deletions

View file

@ -6,13 +6,13 @@ import { PeerTubeServer } from './server'
export class FollowsCommand extends AbstractCommand {
getFollowers (options: OverrideCommandOptions & {
start: number
count: number
sort: string
start?: number
count?: number
sort?: string
search?: string
actorType?: ActivityPubActorType
state?: FollowState
}) {
} = {}) {
const path = '/api/v1/server/followers'
const query = pick(options, [ 'start', 'count', 'sort', 'search', 'state', 'actorType' ])