oops
This commit is contained in:
parent
6769b371be
commit
1ab2c3df17
6
app.js
6
app.js
@ -337,11 +337,11 @@ app.post('/publish', async (req, res) => {
|
||||
|
||||
// Set channel streaming status
|
||||
db.run('UPDATE channels SET live_at=? WHERE id=?', Date.now(), streamer.id)
|
||||
cache.live.push(streamer.id)
|
||||
cache.live.push(streamer.name)
|
||||
|
||||
// Send notifications
|
||||
if (!notifQueue.includes(streamer.user_uuid)) {
|
||||
notifQueue.push(streamer.user_uuid)
|
||||
if (!notifQueue.includes(streamer.id)) {
|
||||
notifQueue.push(streamer.id)
|
||||
}
|
||||
|
||||
// Redirect the streaming server to the target
|
||||
|
Reference in New Issue
Block a user