owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.38k stars 668 forks source link

Detect captive portal and pause sync #11533

Open TheOneRing opened 4 months ago

TheOneRing commented 4 months ago

See https://github.com/owncloud/client/issues/11531 https://doc.qt.io/qt-6/qnetworkinformation.html#isBehindCaptivePortal-prop

erikjv commented 3 months ago

Where should we do this exactly? In the account state? Or when the SSL cert. checks fail? Also, should we listen for this and somehow show a notification on the desktop that we stopped/resumed syncing?