mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
This actually involved refactoring a good bit of existing code; we in this commit introduce a new property of zephyr called .reply_to, which is the fully rendered-to-string and pretty-printable version of the person to which any reply should be addressed. This is useful for grouping personals, where if you simply went by the .display_recipient or .sender you would have to check them against eachother. We also introduce a new narrow_classish command, which is triggered on clicking on the "Huddle with…" text. This method intelligently determines which sort of narrowing to do; we essentially moved out code from the 'r' key handling section and put it in its own function. (imported from commit 2406ee0f6f83b990eec83190d2e8858865c06238)