mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-25 13:31:47 +00:00
now parse server info into host object all at once
This commit is contained in:
1 parent
b7fcce08d6
commit
60cba0399d
5 files changed
+61
-20
No files matched your search
@@ -46,7 +46,7 @@
|
||||
DataManager* dataMan = [[DataManager alloc] init];
|
||||
host = [dataMan createHost];
|
||||
host.address = hostAddress;
|
||||
[DiscoveryWorker updateHost:host withServerInfo:serverInfoData];
|
||||
[HttpManager populateHostFromXML:serverInfoData host:host];
|
||||
if (![self addHostToDiscovery:host]) {
|
||||
[dataMan removeHost:host];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user