mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Actually send expansion versions for hash checking
This commit is contained in:
parent
43eeecac97
commit
d891a87d41
2 changed files with 4 additions and 6 deletions
|
@ -116,8 +116,8 @@ void SquareLauncher::registerSession(const LoginInformation& info) {
|
||||||
|
|
||||||
QString report = info.settings->bootVersion + "=" + getBootHash(info);
|
QString report = info.settings->bootVersion + "=" + getBootHash(info);
|
||||||
|
|
||||||
for(int i = 0; i < expansionVersions.size(); i++)
|
for(int i = 0; i < info.settings->expansionVersions.size(); i++)
|
||||||
report += QString("\nex%1\t%2").arg(QString::number(i + 1), expansionVersions[i]);
|
report += QString("\nex%1\t%2").arg(QString::number(i + 1), info.settings->expansionVersions[i]);
|
||||||
|
|
||||||
auto reply = window.mgr->post(request, report.toUtf8());
|
auto reply = window.mgr->post(request, report.toUtf8());
|
||||||
connect(reply, &QNetworkReply::finished, [=] {
|
connect(reply, &QNetworkReply::finished, [=] {
|
||||||
|
|
|
@ -27,6 +27,4 @@ private:
|
||||||
LoginAuth auth;
|
LoginAuth auth;
|
||||||
|
|
||||||
LauncherCore& window;
|
LauncherCore& window;
|
||||||
|
|
||||||
QList<QString> expansionVersions;
|
|
||||||
};
|
};
|
Loading…
Add table
Reference in a new issue