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

FIRE: fix: revision_count should not include revisions that do not correspond to an edit #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

double-beep
Copy link
Member

Occasionally, SD reports community wiki posts, or questions that are closed minutes after they are reported. FIRE considers these as "edited", even though they haven't been edited, due to the fact that events like bounties and CW/close notices are treated as new revisions by the SE API.

This PR excludes revisions that do not correspond to an edit from being counted in revision_count, which determines whether the pencil icon will appear in the FIRE popup.

See also: Type revision from the SE API docs.

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.

1 participant