Improve TURN server retrieval

This commit is contained in:
trilene 2020-07-30 19:59:54 -04:00
parent c0743f9688
commit f14d141cb5
3 changed files with 17 additions and 3 deletions

View file

@ -723,6 +723,8 @@ ChatPage::bootstrap(QString userid, QString homeserver, QString token)
const bool isInitialized = cache::isInitialized();
const auto cacheVersion = cache::formatVersion();
callManager_.refreshTurnServer();
if (!isInitialized) {
cache::setCurrentFormat();
} else {