Skip to content

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

Open
double-beep wants to merge 1 commit intoCharcoal-SE:masterfrom
double-beep:fire-correct-revision_count
Open

FIRE: fix: revision_count should not include revisions that do not correspond to an edit#244
double-beep wants to merge 1 commit intoCharcoal-SE:masterfrom
double-beep:fire-correct-revision_count

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