fixing #1587 properly for unread count

This commit is contained in:
psychobunny
2014-05-28 18:20:02 -04:00
parent 08bbf7fdd8
commit 791fde7904
4 changed files with 8 additions and 13 deletions

View File

@@ -57,6 +57,10 @@ SocketTopics.postcount = function(socket, tid, callback) {
topics.getTopicField(tid, 'postcount', callback);
};
SocketTopics.increaseViewCount = function(socket, tid) {
topics.increaseViewCount(tid);
}
SocketTopics.markAsRead = function(socket, data) {
if(!data || !data.tid || !data.uid) {
return;