Signed-off-by: Camila Ayres <hello@camilasan.com>
updateServerColors();
updateServerSubcription();
+ updateDesktopEnterpriseChannel();
emit capabilitiesChanged();
}
}
+void Account::updateDesktopEnterpriseChannel()
+{
+ ConfigFile currentConfig;
+ if (const auto desktopEnterpriseChannel = _capabilities.desktopEnterpriseChannel();
+ desktopEnterpriseChannel != currentConfig.desktopEnterpriseChannel()) {
+ currentConfig.setDesktopEnterpriseChannel(desktopEnterpriseChannel);
+ }
+}
+
} // namespace OCC
[[nodiscard]] bool askUserForMnemonic() const;
void updateServerSubcription();
+ void updateDesktopEnterpriseChannel();
public slots:
/// Used when forgetting credentials