# Limieten op persoonlijke berichten versus onderwerpen

**URL:** <https://meta.discourse.org/t/limits-on-personal-messages-vs-topics/168930>\
**Category:** Bug\
**Created:** [1 november 2020 om 17:48 UTC](https://meta.discourse.org/t/limits-on-personal-messages-vs-topics/168930 "2020-11-01T17:48:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [4 november 2020 om 00:50 UTC](https://meta.discourse.org/t/limits-on-personal-messages-vs-topics/168930/4 "2020-11-04T00:50:59Z")

</div>

I think I can see the problem in the code itself:

> <https://github.com/discourse/discourse/blob/2bb7676ba4f53e0792890224ac9ba580cfe0af79/app/models/topic.rb#L442-L454>

`limit_private_messages_per_day` is checking that the topic is a PM, whereas `limit_topics_per_day` doesn’t check to see if it’s a regular (non-PM) topic.

I think it’s just a matter of adding `return unless regular?` to the top of `limit_topics_per_day`.

I’ll see if I can prove this out and get a PR in place by the end of the week!

---

_[View the full topic](https://meta.discourse.org/t/limits-on-personal-messages-vs-topics/168930)._
