mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
util: Compare recipient streams by name, not recipient id.
This is more consistent with how we compare subjects etc., and can be used for comparing the subjects of a potential future message that doesn't have a recipient id yet. (imported from commit 93251c62dc74b3f12c6140b12fc8d6c756d35f37)
This commit is contained in:
@@ -143,7 +143,7 @@ function do_fade(reply_message, fade_type) {
|
||||
type: fade_type
|
||||
};
|
||||
if (fade_type === "stream") {
|
||||
faded_to.recipient_id = reply_message.recipient_id;
|
||||
faded_to.display_recipient = reply_message.display_recipient;
|
||||
faded_to.subject = reply_message.subject;
|
||||
} else {
|
||||
faded_to.reply_to = reply_message.reply_to;
|
||||
|
||||
Reference in New Issue
Block a user