From cca205d96f62173e05c6e6ed5540fefc0fbef404 Mon Sep 17 00:00:00 2001 From: william Murphy Date: Tue, 19 Nov 2019 19:30:45 -0600 Subject: [PATCH] fix osubscribe workflow; was not updated from nunjucks templating to vue --- web/src/views/Profile.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/views/Profile.vue b/web/src/views/Profile.vue index 638fbee..cedf736 100644 --- a/web/src/views/Profile.vue +++ b/web/src/views/Profile.vue @@ -20,7 +20,7 @@ ×

Oops

Couldn't connect with your host.

-

You could try going back to your app and entering {{ groupHandle }} in the search instead

+

You could try going back to your app and entering @{{ groupHandle }} in the search instead

Recent group posts

@@ -68,7 +68,7 @@ export default { groupHandle() { if (this.actor.id && this.actor.preferredUsername) { const url = new window.URL(this.actor.id) - return `@${this.actor.preferredUsername.toLowerCase()}@${url.host}` + return `${this.actor.preferredUsername.toLowerCase()}@${url.host}` } return '' } @@ -95,7 +95,7 @@ export default { .then(res => res.json()) .then(json => { const link = json.links.find(l => l.rel === 'http://ostatus.org/schema/1.0/subscribe') - window.location.href = link.template.replace('{uri}', '{{ groupAcct }}') + window.location.href = link.template.replace('{uri}', this.groupHandle) }) .catch(err => { console.log(err)