pwa exp
This commit is contained in:
parent
37daa5638b
commit
a325c50f1f
|
@ -1607,7 +1607,7 @@ function mastodonBaseStreaming(acct_id) {
|
||||||
notfCommon(acct_id, 0, null, 'only') //fallback
|
notfCommon(acct_id, 0, null, 'only') //fallback
|
||||||
console.error("Error closing " + domain)
|
console.error("Error closing " + domain)
|
||||||
console.error(error)
|
console.error(error)
|
||||||
if (mastodonBaseWsStatus[domain] == 'available') location.reload()
|
if (mastodonBaseWsStatus[domain] == 'available' && !pwa) location.reload()
|
||||||
mastodonBaseWsStatus[domain] = 'cannotuse'
|
mastodonBaseWsStatus[domain] = 'cannotuse'
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
mastodonBaseWsStatus[domain] = 'cannotuse'
|
mastodonBaseWsStatus[domain] = 'cannotuse'
|
||||||
|
@ -1618,7 +1618,7 @@ function mastodonBaseStreaming(acct_id) {
|
||||||
mastodonBaseWs[domain].onclose = function () {
|
mastodonBaseWs[domain].onclose = function () {
|
||||||
notfCommon(acct_id, 0, null, 'only') //fallback
|
notfCommon(acct_id, 0, null, 'only') //fallback
|
||||||
console.warn("Closing " + domain)
|
console.warn("Closing " + domain)
|
||||||
if (mastodonBaseWsStatus[domain] == 'available') location.reload()
|
if (mastodonBaseWsStatus[domain] == 'available' && !pwa) 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