Skip to content

Commit

Permalink
Enable sharing via Mastodon
Browse files Browse the repository at this point in the history
Sharing works now with newer Mastoton releases.
  • Loading branch information
mjaschen authored and bagage committed Jun 1, 2024
1 parent c23d28f commit 9e47cf2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions js/control/ShareRoute.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
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: {
services: {
mastodon: false,
mastodon: true,
},
shortcut: {
share_action: 65, // char code for 'a' ("action")
Expand Down

0 comments on commit 9e47cf2

Please sign in to comment.