mirror of
https://github.com/zulip/zulip.git
synced 2025-10-28 10:33:54 +00:00
compose: Do not show compose-invite-users row for silent mentions.
This commit is contained in:
committed by
Tim Abbott
parent
c504fa98aa
commit
62007d3e38
@@ -779,6 +779,10 @@ exports.initialize = function () {
|
||||
if (compose_state.get_message_type() !== 'stream') {
|
||||
return;
|
||||
}
|
||||
if (data.is_silent) {
|
||||
// We don't need to warn in case of silent mentions.
|
||||
return;
|
||||
}
|
||||
|
||||
// Disable for Zephyr mirroring realms, since we never have subscriber lists there
|
||||
if (page_params.realm_is_zephyr_mirror_realm) {
|
||||
|
||||
Reference in New Issue
Block a user