summaryrefslogtreecommitdiff
path: root/transferengine-plugins/mastodontransferplugin/mastodonapi.h
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@jolla.com>2026-03-09 09:43:54 +0100
committerAndrew Branson <andrew.branson@jolla.com>2026-03-16 08:59:18 +0100
commitf87acb5add85ab8d8137dcb33078d088b67d1f02 (patch)
tree6e453d493bf53affa9529e3a6b6a418cd4cc1fad /transferengine-plugins/mastodontransferplugin/mastodonapi.h
parent09a2477c14376e99bc15e53947b33f2f5233cadb (diff)
Fix Mastodon sync and transfer reliability edge cases
Diffstat (limited to 'transferengine-plugins/mastodontransferplugin/mastodonapi.h')
-rw-r--r--transferengine-plugins/mastodontransferplugin/mastodonapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/transferengine-plugins/mastodontransferplugin/mastodonapi.h b/transferengine-plugins/mastodontransferplugin/mastodonapi.h
index 4ac3d80..e24914d 100644
--- a/transferengine-plugins/mastodontransferplugin/mastodonapi.h
+++ b/transferengine-plugins/mastodontransferplugin/mastodonapi.h
@@ -49,11 +49,11 @@ private Q_SLOTS:
void uploadProgress(qint64 received, qint64 total);
private:
- static QString normalizeApiHost(const QString &rawHost);
bool postStatusInternal(const QString &mediaId);
void finishTransfer(QNetworkReply::NetworkError error, int httpCode, const QByteArray &data);
QMap<QNetworkReply*, API_CALL> m_replies;
+ bool m_cancelRequested;
QNetworkAccessManager *m_qnam;
QString m_accessToken;
QString m_apiHost;