summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-21 15:12:21 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-21 15:12:21 +0200
commite37c2e34ce13a42db60aeb1ede222381c0f4592e (patch)
treefae28676284abeb41207a29924d7c66208c1c775 /include
parentConvert 'if' to 'else if' to remove a no-op (diff)
downloadnheko-e37c2e34ce13a42db60aeb1ede222381c0f4592e.tar.xz
Use the Accept-Content header to enable response compression
fixes #86
fixes #89
Diffstat (limited to 'include')
-rw-r--r--include/MatrixClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/MatrixClient.h b/include/MatrixClient.h
index 826b4e18..6847ab22 100644
--- a/include/MatrixClient.h
+++ b/include/MatrixClient.h
@@ -142,6 +142,7 @@ signals:
 
 private:
         QNetworkReply *makeUploadRequest(QSharedPointer<QIODevice> iodev);
+        QByteArray uncompress(const QByteArray &data);
 
         // Client API prefix.
         QString clientApiUrl_;