1
0
mirror of https://github.com/flarum/core.git synced 2025-07-21 00:31:17 +02:00

Merge remote-tracking branch 'flarum/master' into core-key-reorganization

This commit is contained in:
dcsjapan
2015-09-23 14:58:34 +09:00
4 changed files with 9 additions and 6 deletions

View File

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