Move room management from Controller to RoomManager

This commit is contained in:
Carl Schwan
2021-05-08 01:17:19 +02:00
parent afa7b822f9
commit 873ab328dc
6 changed files with 6 additions and 22 deletions

View File

@@ -191,7 +191,8 @@ void RoomManager::joinRoom(Quotient::Connection *account,
const QString &roomAliasOrId,
const QStringList &viaServers)
{
// We already listen to roomJoined signal in the Controller
// This should trigger a signal in Quotient once done and NeoChat will
// react to it and open the newly joined room.
account->joinRoom(QUrl::toPercentEncoding(roomAliasOrId), viaServers);
}