use hasReadTopic

v1.18.x
Baris Soner Usakli 12 years ago
parent d32b130d40
commit b35ecd08ea

@ -15,6 +15,7 @@
<strong>There are no recent topics.</strong>
</div>
<button class="btn">Mark All Read</button><br/><br/>
<div class="category row">
<div class="{topic_row_size}">

@ -162,7 +162,7 @@ marked.setOptions({
function getReadStatus(next) {
if (uid && parseInt(uid) > 0) {
RDB.sismember(schema.topics(tid).read_by_uid, uid, function(err, read) {
Topics.hasReadTopic(tid, uid, function(read) {
next(null, read);
});
} else {

Loading…
Cancel
Save