mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 12:25:57 +08:00
Reload post if user relationship isn't loaded
May fix #295, but haven't been able to reproduce/test.
This commit is contained in:
parent
41e7ee712b
commit
7b0f599b48
@ -181,7 +181,7 @@ class PostStream extends mixin(Component, evented) {
|
||||
.map(id => {
|
||||
const post = app.store.getById('posts', id);
|
||||
|
||||
return post && post.discussion() ? post : null;
|
||||
return post && post.discussion() && post.user() !== false ? post : null;
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user