1
Fork 0
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:
redstrate 2022-01-11 00:12:27 -05:00
parent 43eeecac97
commit d891a87d41
2 changed files with 4 additions and 6 deletions

View file

@ -116,8 +116,8 @@ void SquareLauncher::registerSession(const LoginInformation& info) {
QString report = info.settings->bootVersion + "=" + getBootHash(info);
for(int i = 0; i < expansionVersions.size(); i++)
report += QString("\nex%1\t%2").arg(QString::number(i + 1), expansionVersions[i]);
for(int i = 0; i < info.settings->expansionVersions.size(); i++)
report += QString("\nex%1\t%2").arg(QString::number(i + 1), info.settings->expansionVersions[i]);
auto reply = window.mgr->post(request, report.toUtf8());
connect(reply, &QNetworkReply::finished, [=] {

View file

@ -27,6 +27,4 @@ private:
LoginAuth auth;
LauncherCore& window;
QList<QString> expansionVersions;
};