]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(federatedfilesharing): Use valid mastodon URL for sharing
authorFerdinand Thiessen <opensource@fthiessen.de>
Mon, 7 Oct 2024 16:32:35 +0000 (18:32 +0200)
committerFerdinand Thiessen <opensource@fthiessen.de>
Tue, 8 Oct 2024 12:31:21 +0000 (14:31 +0200)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/federatedfilesharing/src/components/PersonalSettings.vue

index bec3c9652f7c02238d17e46afb441118b6ed7312..37a09ad4517c23d6b9c564f0925a76d734f046d6 100644 (file)
@@ -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)}`