aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-08 21:31:40 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-09 10:19:31 +0900
commit651478c1681ba6f93e22c20328a048dbbc263ffe (patch)
tree26075cb319c61a441bb8540079d711a1bc04f954 /lib/connection.h
parent9f0c237dbd1d684e0ce9a7a51bf415577c209f5e (diff)
downloadlibquotient-651478c1681ba6f93e22c20328a048dbbc263ffe.tar.gz
libquotient-651478c1681ba6f93e22c20328a048dbbc263ffe.zip
Move serverPart() to the public API
Also: Connection::resolveServer() now only accepts MXIDs, not domains.
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 4ab8d5ba..11499a6e 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -408,8 +408,8 @@ namespace QMatrixClient
/** Set the homeserver base URL */
void setHomeserver(const QUrl& baseUrl);
- /** Determine and set the homeserver from domain or MXID */
- void resolveServer(const QString& mxidOrDomain);
+ /** Determine and set the homeserver from MXID */
+ void resolveServer(const QString& mxid);
void connectToServer(const QString& user, const QString& password,
const QString& initialDeviceName,