Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unnecessary query on status creation #17901

Merged
merged 1 commit into from
May 25, 2022

Conversation

ClearlyClaire
Copy link
Contributor

@ClearlyClaire ClearlyClaire commented Mar 29, 2022

When creating a status with no poll, poll.nil? would perform an unnecessary database query.

@ClearlyClaire ClearlyClaire marked this pull request as ready for review May 24, 2022 18:26
@Gargron Gargron merged commit 25dda30 into mastodon:main May 25, 2022
kadoshita pushed a commit to kadoshita/mastodon that referenced this pull request May 27, 2022
ClearlyClaire added a commit to ClearlyClaire/mastodon that referenced this pull request Jul 6, 2023
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.

None yet

2 participants