mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Add notification on subscription live stream
This commit is contained in:
parent
4300cc1ee1
commit
a012d6c2a9
19 changed files with 273 additions and 55 deletions
|
@ -23,5 +23,5 @@ async function doNotifyNewVideo (payload: NotifyPayload & { action: 'new-video'
|
|||
const refreshedVideo = await VideoModel.loadFull(payload.videoUUID)
|
||||
if (!refreshedVideo) return
|
||||
|
||||
Notifier.Instance.notifyOnNewVideoIfNeeded(refreshedVideo)
|
||||
Notifier.Instance.notifyOnNewVideoOrLiveIfNeeded(refreshedVideo)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue