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

Prevent aborting another live session

This commit is contained in:
Chocobozzz 2024-03-18 16:09:22 +01:00
parent 3b429f2104
commit c727a34cb6
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 43 additions and 27 deletions

View file

@ -81,7 +81,7 @@ async function blacklistVideo (videoInstance: MVideoAccountLight, options: Video
}
if (videoInstance.isLive) {
LiveManager.Instance.stopSessionOf({ videoUUID: videoInstance.uuid, error: LiveVideoError.BLACKLISTED })
LiveManager.Instance.stopSessionOfVideo({ videoUUID: videoInstance.uuid, error: LiveVideoError.BLACKLISTED })
}
Notifier.Instance.notifyOnVideoBlacklist(blacklist)