Update format.js

what-a-patch-1
Aleksandr Statciuk 4 years ago
parent d00e4b4bf5
commit c43ca9b66f

@ -106,7 +106,10 @@ function addMissingData(channel) {
function updateStatus(channel, status) {
if (status.ok) {
channel.status = null
} else if (status.reason.includes('timed out')) {
} else if (
status.reason.includes('timed out') ||
status.reason.includes('not one of 40{0,1,3,4}')
) {
// nothing
} else {
channel.status = 'Offline'

Loading…
Cancel
Save