Skip to content

msglist: Add in-conversation-narrow asserts in _messageVisible#2051

Merged
gnprice merged 2 commits intozulip:mainfrom
chrisbobbe:pr-message-visible-asserts
Jan 2, 2026
Merged

msglist: Add in-conversation-narrow asserts in _messageVisible#2051
gnprice merged 2 commits intozulip:mainfrom
chrisbobbe:pr-message-visible-asserts

Conversation

@chrisbobbe
Copy link
Collaborator

No description provided.

Copy link
Member

@rajveermalviya rajveermalviya left a comment

Choose a reason for hiding this comment

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

Thanks @chrisbobbe! LGTM, moving over to Greg's review.

@rajveermalviya rajveermalviya added integration review Added by maintainers when PR may be ready for integration and removed maintainer review PR ready for review by Zulip maintainers labels Jan 2, 2026
@rajveermalviya rajveermalviya requested a review from gnprice January 2, 2026 08:15
@gnprice
Copy link
Member

gnprice commented Jan 2, 2026

Thanks! This looks good.

Would you rebase atop current main? It looks like we just introduced one more example of this in #1951 🙂 (/cc @sm-sayedi).

… topic

It's a bug if we load a topic-narrow message list and it has some
message(s) that are outside the specified channel/topic. Some tests
were running afoul of this; we fix those here.
It's a bug if we load a DM-narrow message list and it has some
message(s) that are outside the specified DM conversation. Some
tests were running afoul of this; we fix those here.
@chrisbobbe chrisbobbe force-pushed the pr-message-visible-asserts branch from d61af3b to 75e043f Compare January 2, 2026 20:54
@chrisbobbe
Copy link
Collaborator Author

Thanks! And yep; done.

@gnprice
Copy link
Member

gnprice commented Jan 2, 2026

Thanks! Looks good; merging.

@gnprice gnprice merged commit 75e043f into zulip:main Jan 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration review Added by maintainers when PR may be ready for integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants