Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila <hello@camila.codes>2020-08-03 20:48:33 +0300
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>2020-08-04 19:28:19 +0300
commit8f300ffe661ff79e644f49470132703e7b57aadc (patch)
tree97b4e291e64090b574d5b81b9e5d94cb8ad60e32 /src/gui/accountstate.cpp
parent6d6cc3852bab3566d7e0641f70a9ea05800bb95b (diff)
Remove extra check for talk app on server in AccountState.
- Remove repeated hard coded "spreed" string. Signed-off-by: Camila <hello@camila.codes>
Diffstat (limited to 'src/gui/accountstate.cpp')
-rw-r--r--src/gui/accountstate.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui/accountstate.cpp b/src/gui/accountstate.cpp
index be7aa5832..3b56a8d7f 100644
--- a/src/gui/accountstate.cpp
+++ b/src/gui/accountstate.cpp
@@ -44,7 +44,6 @@ AccountState::AccountState(AccountPtr account)
, _waitingForNewCredentials(false)
, _maintenanceToConnectedDelay(60000 + (qrand() % (4 * 60000))) // 1-5min delay
, _remoteWipe(new RemoteWipe(_account))
- , _hasTalk(false)
{
qRegisterMetaType<AccountState *>("AccountState*");
@@ -74,11 +73,6 @@ AccountPtr AccountState::account() const
return _account;
}
-bool AccountState::hasTalk() const
-{
- return _hasTalk;
-}
-
AccountState::ConnectionStatus AccountState::connectionStatus() const
{
return _connectionStatus;
@@ -444,7 +438,6 @@ void AccountState::slotNavigationAppsFetched(const QJsonDocument &reply, int sta
qCWarning(lcAccountState) << "Status code " << statusCode << " Not Modified - No new navigation apps.";
} else {
_apps.clear();
- _hasTalk = false;
if(!reply.isEmpty()){
auto element = reply.object().value("ocs").toObject().value("data");
@@ -458,9 +451,6 @@ void AccountState::slotNavigationAppsFetched(const QJsonDocument &reply, int sta
navLink.value("id").toString(), QUrl(navLink.value("icon").toString()));
_apps << app;
-
- if(app->id() == QLatin1String("spreed"))
- _hasTalk = true;
}
}
}