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

@@ -113,16 +113,6 @@ public:
*/
bool saveAccessTokenToKeyChain(const Quotient::AccountSettings &account, const QByteArray &accessToken);
/**
* @brief Create new room for a group chat.
*/
Q_INVOKABLE void createRoom(const QString &name, const QString &topic);
/**
* @brief Create new space.
*/
Q_INVOKABLE void createSpace(const QString &name, const QString &topic);
/**
* @brief Join a room.
*/
@@ -216,7 +206,6 @@ Q_SIGNALS:
void userConsentRequired(QUrl url);
void isOnlineChanged(bool isOnline);
void activeConnectionIndexChanged();
void roomAdded(NeoChatRoom *room);
public Q_SLOTS:
void saveWindowGeometry();