diff options
author | Cyrille Bollu <cyrpub@bollu.be> | 2019-10-04 15:08:03 +0200 |
---|---|---|
committer | Cyrille Bollu <cyrpub@bollu.be> | 2019-10-04 15:08:03 +0200 |
commit | c82befe38b92b6f553937bd998df4494a579e4a8 (patch) | |
tree | fe6a8d76586c9b1a0e3489f62b5bb7d0669338fe | |
parent | 5b948b76e641033b4e4404238ae357821cea0275 (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>
-rw-r--r-- | src/components/ProfileInfo.vue | 2 |
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') } } } |