Fix error when another user has replied to a post

This commit is contained in:
Toby Zerner 2015-05-18 18:12:26 +09:30
parent 349a0fc215
commit 0b95fc7f81

View File

@ -5,6 +5,7 @@ import DiscussionPage from 'flarum/components/discussion-page';
import PostComment from 'flarum/components/post-comment';
import PostPreview from 'flarum/components/post-preview';
import punctuate from 'flarum/helpers/punctuate';
import username from 'flarum/helpers/username';
export default function mentionedByList() {
Post.prototype.mentionedBy = Model.many('mentionedBy');