mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add tests to handle down server
This commit is contained in:
parent
85cd9bde5a
commit
7bc2917145
12 changed files with 161 additions and 34 deletions
|
@ -124,9 +124,7 @@ function follow (fromActor: ActorModel, targetActor: ActorModel) {
|
|||
actorFollow.ActorFollower = fromActor
|
||||
|
||||
// Send a notification to remote server
|
||||
if (actorFollow.state === 'pending') {
|
||||
await sendFollow(actorFollow, t)
|
||||
}
|
||||
await sendFollow(actorFollow, t)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue