# Ошибка: максимум тем в первый день, спустя 4 дня после первой темы

**URL:** https://meta.discourse.org/t/maximum-topics-in-first-day-error-4-days-after-first-topic/170929
**Category:** Bug
**Created:** [22.Ноябрь.2020 16:11:26 UTC](https://meta.discourse.org/t/maximum-topics-in-first-day-error-4-days-after-first-topic/170929 "2020-11-22T16:11:26Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [23.Июнь.2025 01:40:28 UTC](https://meta.discourse.org/t/maximum-topics-in-first-day-error-4-days-after-first-topic/170929/7 "2025-06-23T01:40:28Z")

</div>

Хорошо, это было немного сложно разобраться, но, думаю, это исправит проблему:

> <https://github.com/discourse/discourse/pull/33303>
>
> All the way back in bc52bdfa1280ba08e6fb1931c26e18aa7fee9f7f we changed
> the def…inition of new\_user\_posting\_on\_first\_day? to return true if the
> user was TL0 unconditionally. However this changes the logic of
> the method, and essentially makes it "lie". Yes TL0 may be considered
> a new user in other places, but in this method specifically we want
> to check it's their "first day" of posting, not just that they are TL0.
> 
> The intent per these commits:
> 
> \* 487c20959c874666db726d69c00abe139ba1aeab
> \* 5aa1272f05fc0de0b08577707d3370d10fafdd51
> \* 9834d1150300de26ffc35cb6af9a3ac91666e216
> 
> Was consider any user \< TL2 who hadn't made their first post yet
> as a new user posting on their first day. If they had made a post
> \>= 24 hours ago, they were no longer considered a new user posting
> on their first day.
> 
> This commit restores that logic and also cleans up the spec and
> guardian check to be clearer.

По сути, мы изменили смысл `new_user_posting_on_first_day?` несколько лет назад, так что он перестал соответствовать описанию и сообщениям об ошибках. Это возвращает старое поведение и не рассматривает пользователей TL0 как новых пользователей постоянно для целей этой проверки.

---

_[View the full topic](https://meta.discourse.org/t/maximum-topics-in-first-day-error-4-days-after-first-topic/170929)._
