Update format.js

This commit is contained in:
Aleksandr Statciuk 2021-11-20 23:39:09 +03:00
parent 95e34c1210
commit d7001e5f54

View File

@ -132,7 +132,7 @@ function updateStatus(channel, status) {
channel.status = channel.status === 'Offline' ? 'Not 24/7' : null
break
case 'error_403':
channel.status = 'Geo-blocked'
if (!channel.status) channel.status = 'Geo-blocked'
break
case 'offline':
if (channel.status !== 'Not 24/7') channel.status = 'Offline'