diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index b314a2860c..68c6a12471 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -607,9 +607,10 @@ define(['composer', 'forum/pagination'], function(composer, pagination) { socket.on('get_users_in_room', function(data) { if(data && data.room.indexOf('topic') !== -1) { - var activeEl = $('.thread_active_users'); + var activeEl = $('li.post-bar[data-index="0"] .thread_active_users'); function createUserIcon(uid, picture, userslug, username) { + if(!activeEl.find('[href="'+ RELATIVE_PATH +'/user/' + data.users[i].userslug + '"]').length) { var userIcon = $(''); @@ -644,7 +645,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) { var i=0; // add self for(i = 0; i +
  • @@ -190,6 +191,7 @@
  • +