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

rocketchat: fix unread counter disappearing #489

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

fl0rp
Copy link
Contributor

@fl0rp fl0rp commented Jan 4, 2024

Pre-flight Checklist

Please ensure you've completed all of the following.

Description of Change

At some point, Rocketchat started to remove the DOM elements for channels from the sidebar which are not in the current viewport (i.e. scrolled out of view). This means that the current approach of counting .rcx-badge and .rcx-sidebar-item--highlighted elements does not work reliably, since they might not exist.

The recipe now uses the information in the title bar, which is updated by Rocketchat itself.

Copy link
Member

@mcmxcdev mcmxcdev left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@mcmxcdev mcmxcdev merged commit 8b66951 into ferdium:main Jan 5, 2024
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