Enable sharing via Mastodon

Sharing works now with newer Mastoton releases.
This commit is contained in:
Marcus Jaschen 2023-10-07 13:57:20 +02:00 committed by Gautier P
parent c23d28f554
commit 9e47cf24e4

View file

@ -1,12 +1,7 @@
BR.ShareRoute = L.Class.extend({ BR.ShareRoute = L.Class.extend({
/**
* Sharing via Mastodon is currently disabled by default, because
* the share intent fails when the current route URL is longer
* than the post character limit for that instance.
*/
options: { options: {
services: { services: {
mastodon: false, mastodon: true,
}, },
shortcut: { shortcut: {
share_action: 65, // char code for 'a' ("action") share_action: 65, // char code for 'a' ("action")