fix(federatedfilesharing): Use valid mastodon URL for sharing

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/48520/head
Ferdinand Thiessen 1 year ago
parent 268aad3704
commit 30e02f2898
  1. 2
      apps/federatedfilesharing/src/components/PersonalSettings.vue

@ -118,7 +118,7 @@ export default {
return t('federatedfilesharing', 'Share with me through my #Nextcloud Federated Cloud ID')
},
shareMastodonUrl() {
return `https://https://mastodon.xyz/?text=${encodeURIComponent(this.messageWithoutURL)}&url=${encodeURIComponent(this.reference)}`
return `https://mastodon.social/?text=${encodeURIComponent(this.messageWithoutURL)}&url=${encodeURIComponent(this.reference)}`
},
shareXUrl() {
return `https://x.com/intent/tweet?text=${encodeURIComponent(this.messageWithURL)}`

Loading…
Cancel
Save