From f246c5e1ee9f43f7e3a2ee8c4f550c91664a3f9f Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 22 Mar 2016 11:39:28 +0200 Subject: [PATCH] closes https://github.com/NodeBB/nodebb-theme-persona/issues/259 --- src/topics/posts.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/topics/posts.js b/src/topics/posts.js index 0c9722f801..445eab4637 100644 --- a/src/topics/posts.js +++ b/src/topics/posts.js @@ -148,6 +148,9 @@ module.exports = function(Topics) { if (post.deleted && !(topicPrivileges.isAdminOrMod || post.selfPost)) { post.content = '[[topic:post_is_deleted]]'; + if (post.user) { + post.user.signature = ''; + } } } });