mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 13:08:48 +03:00
Fix ci
This commit is contained in:
parent
64dd4c5985
commit
4098cf6780
1 changed files with 1 additions and 3 deletions
|
@ -28,8 +28,6 @@
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
#include <QUrlQuery>
|
#include <QUrlQuery>
|
||||||
|
|
||||||
#include <zlib.h>
|
|
||||||
|
|
||||||
#include "Login.h"
|
#include "Login.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Register.h"
|
#include "Register.h"
|
||||||
|
@ -698,7 +696,7 @@ MatrixClient::fetchUserAvatar(const QUrl &avatarUrl,
|
||||||
QNetworkRequest avatar_request(endpoint);
|
QNetworkRequest avatar_request(endpoint);
|
||||||
|
|
||||||
auto reply = get(avatar_request);
|
auto reply = get(avatar_request);
|
||||||
connect(reply, &QNetworkReply::finished, this, [this, reply, onSuccess, onError]() {
|
connect(reply, &QNetworkReply::finished, this, [reply, onSuccess, onError]() {
|
||||||
reply->deleteLater();
|
reply->deleteLater();
|
||||||
|
|
||||||
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
int status = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
|
||||||
|
|
Loading…
Reference in a new issue