mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 23:12:58 +01:00
on entry to topic mark notifications read
This commit is contained in:
@@ -73,6 +73,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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user