From 2438bbfd411c41d14d41dbce0f47975f5fc1e781 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 31 Aug 2015 14:03:08 +0930 Subject: [PATCH] Reload post if user relationship isn't loaded May fix #295, but haven't been able to reproduce/test. --- js/forum/src/components/PostStream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/forum/src/components/PostStream.js b/js/forum/src/components/PostStream.js index 502c89b1c..ddfb28bd0 100644 --- a/js/forum/src/components/PostStream.js +++ b/js/forum/src/components/PostStream.js @@ -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; }); }