aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/actors/follow.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-26 14:46:15 +0200
committerChocobozzz <me@florianbigard.com>2022-07-27 13:52:13 +0200
commit927fa4b11f692174d6296aa096d7a74bacdeea8b (patch)
tree20866dda219bbb5504d5645a980565fbbc25398a /shared/models/actors/follow.model.ts
parent0f58b11f5cace6e57cab5b4a18380eb297b43fe4 (diff)
downloadPeerTube-927fa4b11f692174d6296aa096d7a74bacdeea8b.tar.gz
PeerTube-927fa4b11f692174d6296aa096d7a74bacdeea8b.tar.zst
PeerTube-927fa4b11f692174d6296aa096d7a74bacdeea8b.zip
Add rejected state to follows
Prevent reprocessing already rejected follows
Diffstat (limited to 'shared/models/actors/follow.model.ts')
-rw-r--r--shared/models/actors/follow.model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/models/actors/follow.model.ts b/shared/models/actors/follow.model.ts
index 7de638cba..244d6d97e 100644
--- a/shared/models/actors/follow.model.ts
+++ b/shared/models/actors/follow.model.ts
@@ -1,6 +1,6 @@
1import { Actor } from './actor.model' 1import { Actor } from './actor.model'
2 2
3export type FollowState = 'pending' | 'accepted' 3export type FollowState = 'pending' | 'accepted' | 'rejected'
4 4
5export interface ActorFollow { 5export interface ActorFollow {
6 id: number 6 id: number