Skip to content

Conversation

@martinbndr
Copy link
Contributor

This fixes the issue #3290 which caused threads to be auto-closed even if thread_auto_close has been disabled.

There was also an issue that closed the thread when the user has responded to mods. The thread should stay open and only auto close when the staff has replied back.

This fixes the issue #3290 which caused threads to be auto-closed even if `thread_auto_close` has been disabled.

There was also an issue that closed the thread when the user has responded to mods. The thread should stay open and only auto close when the staff has replied back.
@martinbndr martinbndr linked an issue Dec 19, 2025 that may be closed by this pull request
@StephenDaDev StephenDaDev requested review from a team, StephenDaDev, lorenzo132 and sebkuip and removed request for StephenDaDev, lorenzo132 and sebkuip December 19, 2025 16:09
@StephenDaDev
Copy link
Member

StephenDaDev commented Dec 19, 2025

Not sure why it merged them (the review requests) when I did that

This solves the thread from autoclosing if the closure has been cancelled earlier in a thread.
lorenzo132
lorenzo132 previously approved these changes Dec 20, 2025
Copy link
Member

@sebkuip sebkuip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some extra mongo calls that I think could be removed to save bandwidth limits. Otherwise seems okay

I had added a small bugfix aswell for pagination when an invalid config var was given.

This happened to occur upon removing the `thread_auto_close` config.
Copy link
Member

@sebkuip sebkuip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Bot auto-closes tickets while disabled

5 participants