mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
Previously, when sending a message to a resolved topic, if you disissed the 'You are sending a message to a resolved topic' banner, it would reappear as soon as the user enters another character. Fix this by showing the banner at most once per narrow. It does not reappear if the user closes the banner and continues typing. It will only be shown again if the user closes compose, changes stream/topic, sends a message or otherwise clears the compose box state. We also remove the existing check for whether this banner is already visible; this is essentially a more precise version of the same logic. Fixes #24245.