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-12-07 12:34:07 +0900
commit15b2ea9e4e7077b8547f5f7f39156b0227c338e8 (patch)
tree1cce5d8fd75d3d999c7f88bb213f94775ded0e5a /connection.h
parent6fc3c79c2b3ac318d3a140594ded28020f9a8afb (diff)
downloadlibquotient-15b2ea9e4e7077b8547f5f7f39156b0227c338e8.tar.gz
libquotient-15b2ea9e4e7077b8547f5f7f39156b0227c338e8.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 fc6f4588..ecebb2e7 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;