invite_users: Discard "#" in private streams.

Added an if statement which renders "#" only when it's not "invite only".

Fixes part of #23496.
This commit is contained in:
SameepAher
2022-11-11 00:59:39 +05:30
committed by Tim Abbott
parent 1b0a14bf40
commit 7e4b9a3c01

View File

@@ -14,7 +14,7 @@
{{#if (eq name ../notifications_stream)}}
#{{name}} <i>({{t 'Receives new stream announcements' }})</i>
{{else}}
#{{name}}
{{#if (not invite_only)}}#{{/if}}{{name}}
{{/if}}
</label>
{{/each}}