mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove unused function.
This commit is contained in:
parent
5732e4288e
commit
81d3c4a7a1
@ -10,7 +10,9 @@ export default Component.extend({
|
||||
if (!topic || !topic.isPrivateMessage) {
|
||||
return;
|
||||
}
|
||||
|
||||
const allowedUsers = topic.details.allowed_users;
|
||||
|
||||
if (
|
||||
topic.relatedMessages &&
|
||||
topic.relatedMessages.length >= 5 &&
|
||||
@ -28,9 +30,4 @@ export default Component.extend({
|
||||
`/search?expanded=true&q=%40${this.targetUser.username}%20in%3Apersonal-direct`
|
||||
);
|
||||
},
|
||||
|
||||
@discourseComputed("topic")
|
||||
relatedTitleLink(topic) {
|
||||
return this.currentUser && this.currentUser.pmPath(topic);
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user