mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 21:51:17 +00:00
now parse server info into host object all at once
This commit is contained in:
@@ -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