1
0
Fork 0
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:
Chocobozzz 2018-01-11 11:40:18 +01:00
parent 85cd9bde5a
commit 7bc2917145
No known key found for this signature in database
GPG key ID: 583A612D890159BE
12 changed files with 161 additions and 34 deletions

View file

@ -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)
})
}