feat: add relevant topic events to post objects

see c9604f216a
This commit is contained in:
Barış Soner Uşaklı
2022-09-23 10:42:15 -04:00
parent ce77605a83
commit a584dae650
2 changed files with 7 additions and 0 deletions

View File

@@ -181,6 +181,7 @@ module.exports = function (utils, Benchpress, relative_path) {
}
function renderTopicEvents(index, sort) {
console.warn('[renderTopicEvents] deprecated, use a partial at partials/topic/event.tpl');
if (sort === 'most_votes') {
return '';
}