mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
Don't fade all messages when you narrow to all PMs with the compose box open.
(imported from commit 4041d28988544733243aa3f2494aca9247acd324)
This commit is contained in:
@@ -115,7 +115,8 @@ exports.update_faded_messages = function () {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (focused_recipient.type === "stream" && focused_recipient.subject === "") {
|
if ((focused_recipient.type === "stream" && focused_recipient.subject === "") ||
|
||||||
|
(focused_recipient.type === "private" && focused_recipient.reply_to === "")) {
|
||||||
exports.unfade_messages();
|
exports.unfade_messages();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user