mirror of
https://github.com/flarum/core.git
synced 2025-07-28 20:20:34 +02:00
Fix error when another user has replied to a post
This commit is contained in:
@@ -5,6 +5,7 @@ import DiscussionPage from 'flarum/components/discussion-page';
|
|||||||
import PostComment from 'flarum/components/post-comment';
|
import PostComment from 'flarum/components/post-comment';
|
||||||
import PostPreview from 'flarum/components/post-preview';
|
import PostPreview from 'flarum/components/post-preview';
|
||||||
import punctuate from 'flarum/helpers/punctuate';
|
import punctuate from 'flarum/helpers/punctuate';
|
||||||
|
import username from 'flarum/helpers/username';
|
||||||
|
|
||||||
export default function mentionedByList() {
|
export default function mentionedByList() {
|
||||||
Post.prototype.mentionedBy = Model.many('mentionedBy');
|
Post.prototype.mentionedBy = Model.many('mentionedBy');
|
||||||
|
Reference in New Issue
Block a user