Skip to content

Node.js based forum software built for the modern web

removed toggleNew

barisusakli54901afe5e17
diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js
index c721c508da..b2613a2e8a 100644
--- a/public/src/modules/chat.js
+++ b/public/src/modules/chat.js
@@ -90,16 +90,6 @@ define('chat', ['components', 'taskbar', 'string', 'sounds', 'forum/chats', 'tra
var modal = module.getModal(data.uid);
app.updateUserStatus(modal.find('[component="user/status"]'), data.status);
});
-
- $(window).on('action:taskbar.toggleNew', function(ev, uuid) {
- var modal = $('.chat-modal[uuid="' + uuid + '"]'),
- touid = modal.attr('touid');
-
- socket.emit('modules.chats.toggleNew', {
- uid: touid,
- state: false
- });
- });
};
module.loadChatsDropdown = function(chatsListEl) {