chat: fix private chat username recolouring, improve responsiveness to config settings

This commit is contained in:
Quasindro
2019-08-22 21:50:39 +02:00
committed by Adam Witkowski
parent e183feab69
commit 53b50cbb2d

View File

@@ -119,12 +119,8 @@ public class ChatMessageManager
switch (chatMessageType)
{
case MODPRIVATECHAT:
case PRIVATECHAT:
case PRIVATECHATOUT:
usernameColor = isChatboxTransparent ? chatColorConfig.transparentPrivateUsernames() : chatColorConfig.opaquePrivateUsernames();
break;
// username recoloring for MODPRIVATECHAT, PRIVATECHAT and PRIVATECHATOUT
// ChatMessageTypes is handled in the script callback event
case TRADEREQ:
case AUTOTYPER:
case PUBLICCHAT: