mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
Two wrinkles here: * It's actually a little subtle why `ok_to_include_history` is correct; in particular, it's not true that a term `stream:foo` will always limit the query to the stream `foo`. For this, add an explanatory comment backed up by an assert. * The TODO comment in `messages_in_narrow_backend` about assuming this is a search, I'm pretty sure doesn't matter; it seems to only be saying that we return the set of fields we would for a search. They're harmless to send, and in any case it doesn't appear to be true anymore that the client only calls this for a search: the `can_apply_locally` function also causes narrows with `has:` to go to the server. So just take that comment out.
54 KiB
54 KiB