mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Earlier, on sending a new message in a search view it didn't appear in that view for the sender. This was because the message event received by the sender was processed by 'msg_list.view.rerender_messages' which effectively did nothing because the message is not rendered in the first place during local echo in that message list view. We can't determine locally if the message should be added to the search narrow. So, we use maybe_add_narrowed_messages when narrowed to such views. This fixes the bug and the message appears in the search view.
19 KiB
Executable File
19 KiB
Executable File