diff options
author | Felix Rohrbach <fxrh@gmx.de> | 2016-05-01 21:38:13 +0200 |
---|---|---|
committer | Felix Rohrbach <fxrh@gmx.de> | 2016-05-01 21:38:13 +0200 |
commit | 22a675a55ae2dac33a680531f4003fbfeb24ec39 (patch) | |
tree | 3c7e575cd64aea4fdcbd78a936f1913532105fb4 /connectiondata.cpp | |
parent | 00a73167ca455370868f1f82257420f0cb399a15 (diff) | |
parent | aa8b077499653b6ebf2d78136c75c801e6f99c29 (diff) | |
download | libquotient-22a675a55ae2dac33a680531f4003fbfeb24ec39.tar.gz libquotient-22a675a55ae2dac33a680531f4003fbfeb24ec39.zip |
Merge pull request #3 from davidar/master
Resolve Matrix SRV records.
Diffstat (limited to 'connectiondata.cpp')
-rw-r--r-- | connectiondata.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/connectiondata.cpp b/connectiondata.cpp index 374484b0..4a3bd47f 100644 --- a/connectiondata.cpp +++ b/connectiondata.cpp @@ -72,6 +72,18 @@ void ConnectionData::setToken(QString token) d->token = token; } +void ConnectionData::setHost(QString host) +{ + d->baseUrl.setHost(host); + qDebug() << "updated baseUrl to" << d->baseUrl; +} + +void ConnectionData::setPort(int port) +{ + d->baseUrl.setPort(port); + qDebug() << "updated baseUrl to" << d->baseUrl; +} + QString ConnectionData::lastEvent() const { return d->lastEvent; @@ -80,4 +92,4 @@ QString ConnectionData::lastEvent() const void ConnectionData::setLastEvent(QString identifier) { d->lastEvent = identifier; -}
\ No newline at end of file +} |