Move Controller::createRoom and Controller::createSpace to NeoChatConnection

This commit is contained in:
Tobias Fella
2023-09-05 16:05:11 +02:00
committed by James Graham
parent ff0990bb7c
commit f7d2ffac66
10 changed files with 52 additions and 48 deletions

View File

@@ -144,7 +144,6 @@ void RoomListModel::doAddRoom(Room *r)
m_rooms.append(room);
connectRoomSignals(room);
Q_EMIT roomAdded(room);
Q_EMIT Controller::instance().roomAdded(room);
} else {
qCritical() << "Attempt to add nullptr to the room list";
Q_ASSERT(false);