fix hidden text for password protected servers on chat context

This commit is contained in:
RaidMax 2022-12-22 19:28:59 -06:00
parent 1349cf84b7
commit d0f72390fb

View File

@ -16,7 +16,8 @@
<span> <span>
&mdash; &mdash;
<span class="@(message.IsQuickMessage ? "font-italic" : "") text-light-dm text-dark-lm"> <span class="@(message.IsQuickMessage ? "font-italic" : "") text-light-dm text-dark-lm">
<color-code value="@(message.IsHidden ? message.HiddenMessage : message.Message)" allow="@ViewBag.EnableColorCodes"></color-code> <color-code value="@(message.IsHidden && !ViewBag.Authorized ? message.HiddenMessage : message.Message)"
allow="@ViewBag.EnableColorCodes"></color-code>
</span> </span>
</span> </span>
<br /> <br />