Node.js based forum software built for the modern web
pass in privileges to event parsing so delete button shows up
Barış Soner Uşaklı9d6aeba37674
diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.jsindex dc2ad4ae30..6653941d64 100644--- a/public/src/client/topic/posts.js+++ b/public/src/client/topic/posts.js@@ -301,7 +301,10 @@ define('forum/topic/posts', [}const translated = await Promise.all(- events.map(event => app.parseAndTranslate('partials/topic/event', event))+ events.map(event => app.parseAndTranslate(+ 'partials/topic/event',+ { ...event, privileges: ajaxify.data.privileges }+ )));if (config.topicPostSort === 'oldest_to_newest') {