mirror of
https://github.com/flarum/framework.git
synced 2025-05-29 03:21:57 +08:00
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user