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>
pull/787/head
Cyrille Bollu 2019-10-04 15:08:03 +02:00
rodzic 5b948b76e6
commit c82befe38b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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')
}
}
}