Skip to content

Conversation

@nattsw
Copy link
Contributor

@nattsw nattsw commented Apr 16, 2025

In #229 we added a buffer to not show the 🌐 within 10 seconds of post creation. We need to extend this to post edits as well to allow the edited post to be translated automatically and prevent the user from seeing the flash of 🌐

return false if post.user&.bot?
return false if !user_group_allow_translate?

# we want to return false if the post is created within a short buffer ago,
Copy link
Contributor

Choose a reason for hiding this comment

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

might want to change this comment too

@nattsw nattsw merged commit f2c8f7a into main Apr 16, 2025
6 checks passed
@nattsw nattsw deleted the kill-globe branch April 16, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants