Skip to content

Node.js based forum software built for the modern web

removed broken post update

barisusakli9685cb7fe0ae
diff --git a/public/src/forum/account.js b/public/src/forum/account.js
index dfe3c9ed11..6738f1838a 100644
--- a/public/src/forum/account.js
+++ b/public/src/forum/account.js
@@ -73,15 +73,6 @@ define(['forum/accountheader'], function(header) {
socket.emit('user.isOnline', theirid, Account.handleUserOnline);
- socket.on('event:new_post', function(data) {
- templates.preload_template('account', function() {
- templates['account'].parse({posts:[]});
- var html = templates.prepare(templates['account'].blocks['posts']).parse(data);
- $('.user-recent-posts').prepend(html);
- $('.user-recent-posts span.timeago').timeago();
- });
- });
-
});
};