mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-17 22:10:23 +01:00
single socket call on topic enter
This commit is contained in:
@@ -72,9 +72,7 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT
|
||||
|
||||
$(window).trigger('action:topic.loaded');
|
||||
|
||||
socket.emit('topics.markAsRead', tid);
|
||||
socket.emit('topics.markTopicNotificationsRead', tid);
|
||||
socket.emit('topics.increaseViewCount', tid);
|
||||
socket.emit('topics.enter', tid);
|
||||
};
|
||||
|
||||
Topic.toTop = function() {
|
||||
|
||||
Reference in New Issue
Block a user