1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Add notification on subscription live stream

This commit is contained in:
Chocobozzz 2024-02-15 13:55:12 +01:00
parent 4300cc1ee1
commit a012d6c2a9
No known key found for this signature in database
GPG key ID: 583A612D890159BE
19 changed files with 273 additions and 55 deletions

View file

@ -185,7 +185,7 @@ async function moveToPublishedState (options: {
}
if (isNewVideo) {
Notifier.Instance.notifyOnNewVideoIfNeeded(video)
Notifier.Instance.notifyOnNewVideoOrLiveIfNeeded(video)
if (previousState === VideoState.TO_TRANSCODE) {
Notifier.Instance.notifyOnVideoPublishedAfterTranscoding(video)