diff --git a/resources/assets/js/components/RemotePost.vue b/resources/assets/js/components/RemotePost.vue index daba8bec..ddd7b136 100644 --- a/resources/assets/js/components/RemotePost.vue +++ b/resources/assets/js/components/RemotePost.vue @@ -170,7 +170,7 @@
- + {{reply.favourites_count == 1 ? '1 like' : reply.favourites_count + ' likes'}} Reply
@@ -1012,13 +1012,14 @@ export default { window.location.href = url; }, - purl(profile, showOrigin = false) { + permalinkUrl(reply, showOrigin = false) { + let profile = reply.account; if(profile.local == true) { return profile.url; } else { return showOrigin ? - profile.url : - '/i/web/profile/_/' + profile.id; + reply.url : + '/i/web/post/_/' + profile.id + '/' + reply.id; } }