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

Mattermost: fix unreads count #7

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

Conversation

kemenaran
Copy link

The "Unread messages" badge was broken for two reasons.

  1. Mattermost introduced a new configurable Sidebar, which broke the
    selectors used by the recipe.

    Note that the legacy sidebar can still be enabled, and may also
    be displayed by older Mattermost instances. So for compatibility,
    the legacy selectors are kept.

  2. Direct group messages (direct messages sent to more than one person)
    weren't counted at all.

    Now these messages are properly counted as direct messages (because
    that's how Mattermost UI considers them).

Fix #6

The "Unread messages" badge was broken for two reasons.

1. Mattermost introduced a new configurable Sidebar, which broke the
   selectors used by the recipe.

   _Note that the legacy sidebar can still be enabled, and may also_
   _be displayed by older Mattermost instances. So for compatibility,_
   _the legacy selectors are kept._
2. Direct group messages (direct messages sent to more than one person)
   weren't counted at all.

   Now these messages are properly counted as direct messages (because
   that's how Mattermost UI considers them).
@jlnslv
Copy link

jlnslv commented Jul 14, 2021

@adlk @dsander Could you please merge this PR. Unread badge is currently broken. Thanks :D

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.

Unread badge not showing up
2 participants