diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-11-01 23:34:18 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-11-01 23:34:18 +0900 |
commit | f82ad2a6196b7501bfe4138e2314f61180cde261 (patch) | |
tree | 8b311b4fb9d357ea20540a02c1a82794396234f7 /lib/connection.cpp | |
parent | ce1de2a78a947423b305289beefc5f904734b234 (diff) | |
parent | ae5c2aa9acce500e2ad94c6781843c02310dbab3 (diff) | |
download | libquotient-f82ad2a6196b7501bfe4138e2314f61180cde261.tar.gz libquotient-f82ad2a6196b7501bfe4138e2314f61180cde261.zip |
Merge branch 'kitsune-std-optional2'
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r-- | lib/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 998b45d1..5ee7e84e 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -279,7 +279,7 @@ void Connection::reloadCapabilities() if (!d->capabilities.roomVersions) { qCWarning(MAIN) << "Pinning supported room version to 1"; - d->capabilities.roomVersions.emplace({ "1", { { "1", "stable" } } }); + d->capabilities.roomVersions = { "1", { { "1", "stable" } } }; } else { qCDebug(MAIN) << "Room versions:" << defaultRoomVersion() << "is default, full list:" << availableRoomVersions(); |