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 Instagram messages count #387

Merged
merged 2 commits into from
Jul 19, 2023
Merged

Conversation

victorbnl
Copy link
Contributor

Pre-flight Checklist

Please ensure you've completed all of the following.

Description of Change

The messages count on Instagram wasn’t updated after having read the last unread message because element.textContent was '' instead of 0. So I updated the code to set the count to 0 if element.textContent is an empty string.

@vraravam vraravam merged commit 50c81e7 into ferdium:main Jul 19, 2023
2 checks passed
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.

2 participants