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)