mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
parent
69a50565bb
commit
a0267d9515
@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user