aboutsummaryrefslogtreecommitdiff
path: root/src/components/remote_follow/remote_follow.js
diff options
context:
space:
mode:
authordave <starpumadev@gmail.com>2019-03-26 10:52:46 -0400
committerdave <starpumadev@gmail.com>2019-03-26 10:52:46 -0400
commit5fd589d5e717bbcbc46db5efb35878b993b6dfbc (patch)
tree86691b1fa39bbd909307cd4f5eca368bde375661 /src/components/remote_follow/remote_follow.js
parent13e727b5eebb60330bc87c7ccc70109683c5b963 (diff)
parent2f1e69047882a1fc36f87dc1fff752bc76e61fa4 (diff)
merge develop & resolve conflict
Diffstat (limited to 'src/components/remote_follow/remote_follow.js')
-rw-r--r--src/components/remote_follow/remote_follow.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/components/remote_follow/remote_follow.js b/src/components/remote_follow/remote_follow.js
new file mode 100644
index 00000000..461d58c9
--- /dev/null
+++ b/src/components/remote_follow/remote_follow.js
@@ -0,0 +1,10 @@
+export default {
+ props: [ 'user' ],
+ computed: {
+ subscribeUrl () {
+ // eslint-disable-next-line no-undef
+ const serverUrl = new URL(this.user.statusnet_profile_url)
+ return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`
+ }
+ }
+}