diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-16 18:40:50 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 47e0652b4a98916d4a1d012fbec61afd73a30565 (patch) | |
tree | 8d400cce95b50d18921b30fea1d5d2d89b5da740 /server/lib/video-channel.ts | |
parent | 41dbdb8acff3ac56187e8149eab0ff82e2377597 (diff) | |
download | PeerTube-47e0652b4a98916d4a1d012fbec61afd73a30565.tar.gz PeerTube-47e0652b4a98916d4a1d012fbec61afd73a30565.tar.zst PeerTube-47e0652b4a98916d4a1d012fbec61afd73a30565.zip |
Optimize account creation
Diffstat (limited to 'server/lib/video-channel.ts')
-rw-r--r-- | server/lib/video-channel.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/lib/video-channel.ts b/server/lib/video-channel.ts index e69ec062f..6f9ae2d95 100644 --- a/server/lib/video-channel.ts +++ b/server/lib/video-channel.ts | |||
@@ -25,9 +25,7 @@ async function createVideoChannel (videoChannelInfo: VideoChannelCreate, account | |||
25 | // Do not forget to add Account information to the created video channel | 25 | // Do not forget to add Account information to the created video channel |
26 | videoChannelCreated.Account = account | 26 | videoChannelCreated.Account = account |
27 | 27 | ||
28 | await sendCreateVideoChannel(videoChannelCreated, t) | 28 | // No need to seed this empty video channel to followers |
29 | await shareVideoChannelByServer(videoChannelCreated, t) | ||
30 | |||
31 | return videoChannelCreated | 29 | return videoChannelCreated |
32 | } | 30 | } |
33 | 31 | ||