aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-30 11:56:59 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-30 11:56:59 +0900
commitd01154a1899e216b04d6fd2ad3bb384715ca843b (patch)
tree3830cc12047e8e93e0a4bcd37651efa307ea5545 /connection.h
parentbcdede472add732c49c95564034c8cfa1c38c725 (diff)
downloadlibquotient-d01154a1899e216b04d6fd2ad3bb384715ca843b.tar.gz
libquotient-d01154a1899e216b04d6fd2ad3bb384715ca843b.zip
Connection: no more default to matrix.org; update HS URL from /login response
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/connection.h b/connection.h
index 256dbd5f..c67328a6 100644
--- a/connection.h
+++ b/connection.h
@@ -57,8 +57,8 @@ namespace QMatrixClient
using user_factory_t =
std::function<User*(Connection*, const QString&)>;
+ explicit Connection(QObject* parent = nullptr);
explicit Connection(const QUrl& server, QObject* parent = nullptr);
- Connection();
virtual ~Connection();
QHash<QPair<QString, bool>, Room*> roomMap() const;