Force summary mode when user enters at the top of megalodoon topics.

This commit is contained in:
Guo Xiang Tan
2018-06-21 15:18:52 +08:00
parent f7d22bad90
commit 9a7a079f4d
4 changed files with 35 additions and 21 deletions
@@ -177,9 +177,9 @@ export default function transformPost(
const postStream = topic.get("postStream");
postAtts.userFilters = postStream.userFilters;
postAtts.topicSummaryEnabled = postStream.summary;
postAtts.topicSummaryEnabled = postStream.summary || topic.force_summary_mode;
postAtts.topicWordCount = topic.word_count;
postAtts.hasTopicSummary = topic.has_summary;
postAtts.hasTopicSummary = topic.has_summary || topic.force_summary_mode;
}
if (postAtts.isDeleted) {