1
0
mirror of https://github.com/flarum/core.git synced 2025-08-02 22:47:33 +02:00

Show posts even if they don't have a user

This commit is contained in:
Toby Zerner
2015-10-11 22:28:23 +10:30
parent 60483b2c62
commit 4580ebe100

View File

@@ -181,7 +181,7 @@ class PostStream extends mixin(Component, evented) {
.map(id => { .map(id => {
const post = app.store.getById('posts', id); const post = app.store.getById('posts', id);
return post && post.discussion() && post.user() !== false && post.canEdit() !== null ? post : null; return post && post.discussion() && post.canEdit() !== null ? post : null;
}); });
} }