mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
closes #1201
This commit is contained in:
@@ -735,6 +735,10 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
||||
});
|
||||
|
||||
socket.on('event:new_post', function(data) {
|
||||
if(data && data.posts && data.posts.length && data.posts[0].tid !== templates.get('topic_id')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if(config.usePagination) {
|
||||
onNewPostPagination(data);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user