Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Conversation

mattermost-build
Copy link
Contributor

Cherry pick of #9646 on release-6.3.

/cc @koox00

NONE

* MM-40317: fixes showing new replies banner

Currently we rely on the new messages line visibility on whether to show
or not the "New Replies" banner. However new messages line is not showing,
by design, on unfollowed threads. Which made the new replies banner to
show when new replies arrived for those threads.

This commit fixes the issue by guarding on the list's 'visibleStopIndex',
if visibleStopIndex is zero then the last item of the list is visible.
so we show the new replies only if the visibleStopIndex is not zero.

* Removes unneeded change

Co-authored-by: Mattermod <[email protected]>
(cherry picked from commit 1e63c8a)
@mattermod mattermod added AutomatedCherryPick Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Feb 2, 2022
@mattermod mattermod requested a review from koox00 February 2, 2022 17:00
@amyblais amyblais removed the request for review from koox00 February 2, 2022 17:01
@amyblais amyblais added the AutoMerge used by Mattermod to merge PR automatically label Feb 2, 2022
@mattermod
Copy link
Contributor

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

@mattermod
Copy link
Contributor

Trying to auto merge this PR.

@mattermod mattermod merged commit 94a4af5 into mattermost:release-6.3 Feb 2, 2022
@mattermod
Copy link
Contributor

Pull Request successfully merged
SHA: 94a4af5

@mattermod mattermod removed the AutoMerge used by Mattermod to merge PR automatically label Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AutomatedCherryPick Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation release-note-none
Projects
None yet
5 participants