Skip to content

Node.js based forum software built for the modern web

closes https://github.com/NodeBB/nodebb-theme-persona/issues/259

barisusaklif246c5e1ee9f
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 = '';
+ }
}
}
});