fix
This commit is contained in:
parent
1e76867fd1
commit
ec1481aed0
|
@ -1621,7 +1621,7 @@ function mastodonBaseStreaming(acct_id) {
|
||||||
notf(acct_id, 0) //fallback
|
notf(acct_id, 0) //fallback
|
||||||
console.error("Error closing " + domain)
|
console.error("Error closing " + domain)
|
||||||
console.error(error)
|
console.error(error)
|
||||||
if (mastodonBaseWsStatus[domain] == 'available') alert(domain)
|
if (mastodonBaseWsStatus[domain] == 'available') location.reload()
|
||||||
mastodonBaseWsStatus[domain] = 'cannotuse'
|
mastodonBaseWsStatus[domain] = 'cannotuse'
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
mastodonBaseWsStatus[domain] = 'cannotuse'
|
mastodonBaseWsStatus[domain] = 'cannotuse'
|
||||||
|
@ -1632,7 +1632,7 @@ function mastodonBaseStreaming(acct_id) {
|
||||||
mastodonBaseWs[domain].onclose = function () {
|
mastodonBaseWs[domain].onclose = function () {
|
||||||
notf(acct_id, 0) //fallback
|
notf(acct_id, 0) //fallback
|
||||||
console.warn("Closing " + domain)
|
console.warn("Closing " + domain)
|
||||||
if (mastodonBaseWsStatus[domain] == 'available') alert(domain)
|
if (mastodonBaseWsStatus[domain] == 'available') location.reload()
|
||||||
mastodonBaseWs[domain] = false
|
mastodonBaseWs[domain] = false
|
||||||
mastodonBaseWsStatus[domain] = 'cannotuse'
|
mastodonBaseWsStatus[domain] = 'cannotuse'
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user