mirror of https://github.com/zulip/zulip.git
a361e2b993
My recent refactoring that split out MessageListData introduced a nasty bug where we were putting muted messages into the "All Messages" view even though the underlying list was correctly filtering them, so the symptoms were two-fold: - muted messages cluttered up your feed - replying to the message caused a traceback (since it wasn't actually in the underlying data structure) This has to do with what MessageListData.add_messages() was passing back to MessageList to orchestrate drawing in MessageListView. I think what happened here is I got this working kind of sloppily but correctly for the non-muting case and then got in the weeds of some other stuff. Not my finest moment. The actual correct code here is simple enough. We triage top, interior, and bottom, and then the respective methods that put the data into the data structure return the filtered lists (i.e. not muted) and put them into the info structure. Fixes #9656 |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |