if user is in the topic when a new post comes in mark the topic read

This commit is contained in:
Baris Soner Usakli
2014-01-21 10:06:13 -05:00
parent 9400e5bcc9
commit 039f02456d
5 changed files with 56 additions and 18 deletions

View File

@@ -539,7 +539,6 @@ define(['composer'], function(composer) {
'posts.favourite'
]);
socket.on('get_users_in_room', function(data) {
if(data && data.room.indexOf('topic') !== -1) {