Removes double chat startup upon unauth login (#12175)

This commit is contained in:
Matt Atlas
2021-08-31 18:05:15 +02:00
committed by GitHub
parent 15aaa4e873
commit da2723be30
2 changed files with 4 additions and 12 deletions
+2 -10
View File
@@ -50,11 +50,7 @@ You can set verify to TRUE if you want send() to sleep until the client has the
client.sending |= asset_name
var/job = ++client.last_asset_job
client << browse({"
<script>
window.location.href="?asset_cache_confirm_arrival=[job]"
</script>
"}, "window=asset_cache_browser")
client << browse("<script>window.location.href=\"?asset_cache_confirm_arrival=[job]\"</script>", "window=asset_cache_browser")
var/t = 0
var/timeout_time = (ASSET_CACHE_SEND_TIMEOUT * client.sending.len) + ASSET_CACHE_SEND_TIMEOUT
@@ -102,11 +98,7 @@ You can set verify to TRUE if you want send() to sleep until the client has the
client.sending |= unreceived
var/job = ++client.last_asset_job
client << browse({"
<script>
window.location.href="?asset_cache_confirm_arrival=[job]"
</script>
"}, "window=asset_cache_browser")
client << browse("<script>window.location.href=\"?asset_cache_confirm_arrival=[job]\"</script>", "window=asset_cache_browser")
var/t = 0
var/timeout_time = ASSET_CACHE_SEND_TIMEOUT * client.sending.len