From b682cf1575fa5d99ac6f12ad45ed023a5c088247 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 14 May 2015 22:03:15 +0930 Subject: [PATCH] Update the discussion's post relationship when a reply is added --- js/forum/src/components/composer-reply.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/forum/src/components/composer-reply.js b/js/forum/src/components/composer-reply.js index aa6f119b6..6f33c7d68 100644 --- a/js/forum/src/components/composer-reply.js +++ b/js/forum/src/components/composer-reply.js @@ -48,6 +48,7 @@ export default class ComposerReply extends ComposerBody { readTime: post.time(), readNumber: post.number() }); + discussion.data().links.posts.linkage.push({type: 'posts', id: post.id()}); // If we're currently viewing the discussion which this reply was made // in, then we can add the post to the end of the post stream.