gui/macOS: Do not automatically configure file provider domains for new accounts

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2025-02-18 11:26:03 +08:00 committed by Matthieu Gallien
parent 7f2c0d821e
commit 23a90120e2
2 changed files with 3 additions and 3 deletions

View File

@ -41,11 +41,13 @@ public:
signals:
void domainSetupComplete();
public slots:
void addFileProviderDomainForAccount(const OCC::AccountState * const accountState);
private slots:
void setupFileProviderDomains();
void updateFileProviderDomains();
void addFileProviderDomainForAccount(const OCC::AccountState * const accountState);
void removeFileProviderDomainForAccount(const OCC::AccountState * const accountState);
void disconnectFileProviderDomainForAccount(const OCC::AccountState * const accountState, const QString &reason);
void reconnectFileProviderDomainForAccount(const OCC::AccountState * const accountState);

View File

@ -511,8 +511,6 @@ void FileProviderDomainManager::start()
setupFileProviderDomains();
connect(AccountManager::instance(), &AccountManager::accountAdded,
this, &FileProviderDomainManager::addFileProviderDomainForAccount);
// If an account is deleted from the client, accountSyncConnectionRemoved will be
// emitted first. So we treat accountRemoved as only being relevant to client
// shutdowns.