dont markAsRead for guests

This commit is contained in:
barisusakli
2014-11-29 02:07:19 -05:00
parent e7a52b615b
commit 510343b9d5

View File

@@ -202,7 +202,9 @@ define('forum/topic/posts', [
done();
});
} else {
socket.emit('topics.markAsRead', [tid]);
if (app.uid) {
socket.emit('topics.markAsRead', [tid]);
}
navigator.update();
done();
}