summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-10-04 15:08:03 +0200
committerCyrille Bollu <cyrpub@bollu.be>2019-10-04 15:08:03 +0200
commitc82befe38b92b6f553937bd998df4494a579e4a8 (patch)
treefe6a8d76586c9b1a0e3489f62b5bb7d0669338fe /src
parent5b948b76e641033b4e4404238ae357821cea0275 (diff)
FIX: Uses only local part of account's uid when an un-authenticated user clicks
on a profile's follow button. Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Diffstat (limited to 'src')
-rw-r--r--src/components/ProfileInfo.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ProfileInfo.vue b/src/components/ProfileInfo.vue
index c7451f6b..467f7213 100644
--- a/src/components/ProfileInfo.vue
+++ b/src/components/ProfileInfo.vue
@@ -150,7 +150,7 @@ export default {
},
methods: {
followRemote() {
- window.open(OC.generateUrl('/apps/social/api/v1/ostatus/followRemote/' + encodeURI(this.uid)), 'followRemote', 'width=433,height=600toolbar=no,menubar=no,scrollbars=yes,resizable=yes')
+ window.open(OC.generateUrl('/apps/social/api/v1/ostatus/followRemote/' + encodeURI(this.localUid)), 'followRemote', 'width=433,height=600toolbar=no,menubar=no,scrollbars=yes,resizable=yes')
}
}
}