From 86bc18b99cc539949934e22f92f430f040117b21 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Sun, 22 Mar 2026 11:21:35 +0100 Subject: Single auth service, and msyncd restart - Use the microblog service for all auth - Restart msyncd on install if it's running --- settings/accounts/ui/MastodonSettingsDisplay.qml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'settings') diff --git a/settings/accounts/ui/MastodonSettingsDisplay.qml b/settings/accounts/ui/MastodonSettingsDisplay.qml index fe8ba04..35d657b 100644 --- a/settings/accounts/ui/MastodonSettingsDisplay.qml +++ b/settings/accounts/ui/MastodonSettingsDisplay.qml @@ -13,6 +13,7 @@ StandardAccountSettingsDisplay { id: root settingsModified: true + property bool postsServiceEnabled: false function refreshDescriptionEditor() { var description = root.account.configurationValues("")["description"] @@ -124,6 +125,9 @@ StandardAccountSettingsDisplay { : "") visible: text.length > 0 onCheckedChanged: { + if (model.serviceName === "mastodon-microblog") { + root.postsServiceEnabled = checked + } if (checked) { root.account.enableWithService(model.serviceName) } else { @@ -140,6 +144,7 @@ StandardAccountSettingsDisplay { text: qsTrId("settings-accounts-mastodon-la-auto_sync_feed") //% "Fetch new posts periodically when browsing Events Mastodon feed." description: qsTrId("settings-accounts-mastodon-la-auto_sync_feed_description") + enabled: root.postsServiceEnabled onCheckedChanged: { autoSyncConf.value = checked -- cgit v1.2.3