mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 01:02:34 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user