mirror of
https://github.com/flarum/core.git
synced 2025-02-25 03:33:42 +01: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
5af5f1fc77
commit
2438bbfd41
@ -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