mirror of
https://github.com/flarum/core.git
synced 2025-05-08 16:35:26 +02:00
parent
69a50565bb
commit
a0267d9515
@ -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 : null;
|
return post && post.discussion() && post.user() !== false && post.canEdit() !== null ? post : null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user