diff options
| author | Andrew Branson <andrew.branson@jolla.com> | 2026-03-19 16:48:51 +0100 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@jolla.com> | 2026-03-19 16:48:51 +0100 |
| commit | c08a37b96fec1706a1eb560255d487ec6c8a05dc (patch) | |
| tree | 5f2c3f059a5bce53e2bd189a40fd50c2a68d555d /settings/accounts/services | |
| parent | 5fe5ede124da1824fd3b055ec480bf9ce4a5b83f (diff) | |
Sync with main
Diffstat (limited to 'settings/accounts/services')
| -rw-r--r-- | settings/accounts/services/mastodon-microblog.service | 2 | ||||
| -rw-r--r-- | settings/accounts/services/mastodon-notifications.service | 31 |
2 files changed, 32 insertions, 1 deletions
diff --git a/settings/accounts/services/mastodon-microblog.service b/settings/accounts/services/mastodon-microblog.service index 6b975f7..6151577 100644 --- a/settings/accounts/services/mastodon-microblog.service +++ b/settings/accounts/services/mastodon-microblog.service @@ -8,7 +8,7 @@ <provider>mastodon</provider> <template> - <setting name="sync_profile_templates" type="as">["mastodon.Posts", "mastodon.Notifications"]</setting> + <setting name="sync_profile_templates" type="as">["mastodon.Posts"]</setting> <group name="auth"> <setting name="method">oauth2</setting> <setting name="mechanism">web_server</setting> diff --git a/settings/accounts/services/mastodon-notifications.service b/settings/accounts/services/mastodon-notifications.service new file mode 100644 index 0000000..0c41e29 --- /dev/null +++ b/settings/accounts/services/mastodon-notifications.service @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!-- Copyright (C) 2013-2026 Jolla Ltd. --> +<service id="mastodon-notifications"> + <type>microblogging</type> + <translations>/usr/share/translations/settings-accounts-mastodon</translations> + <name>Notifications</name> + <icon>image://theme/icon-l-mastodon</icon> + <provider>mastodon</provider> + + <template> + <setting name="sync_profile_templates" type="as">["mastodon.Notifications"]</setting> + <group name="auth"> + <setting name="method">oauth2</setting> + <setting name="mechanism">web_server</setting> + <group name="oauth2"> + <group name="web_server"> + <setting name="Host">mastodon.social</setting> + <setting name="AllowedSchemes" type="as">["https"]</setting> + <setting name="AuthPath">oauth/authorize</setting> + <setting name="TokenPath">oauth/token</setting> + <setting name="ResponseType">code</setting> + <setting name="Scope" type="as">["read","write"]</setting> + <setting name="RedirectUri">http://ipv4.jolla.com/online/status.html</setting> + </group> + </group> + </group> + <group name="api"> + <setting name="Host">https://mastodon.social</setting> + </group> + </template> +</service> |
