FIX: call `getURL` method explicitly to prevent `this` context override.

FIX: call getURL method explicitly to prevent this context override.

diff --git a/app/assets/javascripts/discourse/app/components/group-post.js b/app/assets/javascripts/discourse/app/components/group-post.js
index 34c8352..51bb53f 100644
--- a/app/assets/javascripts/discourse/app/components/group-post.js
+++ b/app/assets/javascripts/discourse/app/components/group-post.js
@@ -3,5 +3,7 @@ import Component from "@ember/component";
 
 export default Component.extend({
   @discourseComputed("post.url")
-  postUrl: Discourse.getURL
+  postUrl(url) {
+    return Discourse.getURL(url);
+  }
 });

GitHub sha: 60a31101

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/link-to-posts-or-mentions-in-group-activity-leads-to-error-page/152275/5