# Bug or bot? A 'new' user showing as read a lot of posts

**URL:** <https://meta.discourse.org/t/bug-or-bot-a-new-user-showing-as-read-a-lot-of-posts/40632>\
**Category:** Bug\
**Created:** [March 5, 2016, 10:51pm UTC](https://meta.discourse.org/t/bug-or-bot-a-new-user-showing-as-read-a-lot-of-posts/40632 "2016-03-05T22:51:17Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [November 17, 2017, 4:24pm UTC](https://meta.discourse.org/t/bug-or-bot-a-new-user-showing-as-read-a-lot-of-posts/40632/9 "2017-11-17T16:24:28Z")

</div>

Except the post\_timings table doesn’t track when the posts were viewed. I think the source of the problem is in [topic\_user.rb](https://github.com/discourse/discourse/blob/master/app/models/topic_user.rb#L287):

```plaintext
user.update_posts_read!(post_number - before_last_read, mobile: opts[:mobile])

```

It should be counting how many of those posts qualify for counting. If topic is not private message, only count regular posts (not whispers, etc.) between post numbers before\_last\_read and post\_number, etc. And don’t count more than the count of PostTiming records the user has in the topic. I’ll give it a try.

---

_[View the full topic](https://meta.discourse.org/t/bug-or-bot-a-new-user-showing-as-read-a-lot-of-posts/40632)._
