diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-07 05:26:12 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-07 05:27:06 +0100 |
commit | ac1d6782547223bbd58137cc84ea331477f2438d (patch) | |
tree | 19cb8e6334173bf8480c594a8149e452319cfa55 /src/MainWindow.cpp | |
parent | d59469e52f2fde58f2411e995ca37b11acbae793 (diff) |
Fix server switching to https after bootstrap
fixes #878
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index f3893998..73e556f7 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -338,8 +338,7 @@ MainWindow::showChatPage() { auto userid = QString::fromStdString(http::client()->user_id().to_string()); auto device_id = QString::fromStdString(http::client()->device_id()); - auto homeserver = QString::fromStdString(http::client()->server() + ":" + - std::to_string(http::client()->port())); + auto homeserver = QString::fromStdString(http::client()->server_url()); auto token = QString::fromStdString(http::client()->access_token()); userSettings_.data()->setUserId(userid); |