FIX: Backfill topic timer duration (#9249)

This commit is contained in:
Roman Rizzi
2020-03-23 01:08:18 -03:00
committed by GitHub
parent 3189dab622
commit c4bc734b11
3 changed files with 22 additions and 2 deletions

View File

@ -470,7 +470,7 @@ class PostCreator
if topic_timer &&
topic_timer.based_on_last_post &&
topic_timer.duration > 0
topic_timer.duration.to_i > 0
@topic.set_or_create_timer(TopicTimer.types[:close],
nil,