Added semi-functional websocket implementation of signalR for live server list changes (seems a bit chatty though with some servers only having time remaining changing, fixed crash when a user has an active login but their profile picture was removed, fixed not explicitly saving Cache.fetch'ed items as binary 'wb' resulting in corrupt profile image.

This commit is contained in:
2021-12-26 21:23:53 -06:00
parent 52e46eced5
commit e87f14079d
4 changed files with 76 additions and 6 deletions

View File

@@ -15,8 +15,8 @@ class W3DHub
else
response = internet.get(uri, [["user-agent", W3DHub::Api::USER_AGENT]])
if response.success?#status == 200
response.save(path)
if response.success?
response.save(path, "wb")
path
end