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 Quick Reblog double reblogs after extension update/restart (alternative 2) #1599

Closed

Conversation

marcustyphoon
Copy link
Collaborator

Description

Resolves #1597. See issue for background.

Another way to prevent this problem is to communicate a unique key from the main world handler function to the content script by including it in the xkitinjectionready event, and including the key in the request data.

Off the top of my head, this seems slightly worse than #1598; it's still not compatible with #1538. It might have an advantage I'm not thinking of, so I'm committing it for completeness.

Testing steps

  • Load the extension in Firefox.
  • Turn the extension on and off a large number of times.
  • Reblog a post with Quick Reblog and confirm that it is only reblogged once.

@marcustyphoon marcustyphoon changed the title Fix Quick Reblog double reblogs after extension update/restart (alternative) Fix Quick Reblog double reblogs after extension update/restart (alternative 2) Aug 28, 2024
@marcustyphoon marcustyphoon added the bugfix Restores intended behavior label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Restores intended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Posts double-reblog after extension update/restart
1 participant