Changed color of server maessges in-game

Due to an exploit of being able to mimic a die roll in a message:

"Hi all gl, hf !
username rolls a 20 with a 20-sided die."

I have changed all server messages to be colored.
This commit is contained in:
Matt Lowe 2015-03-06 15:20:14 +01:00
parent fd4f76289c
commit 71e794c0c6
3 changed files with 90 additions and 80 deletions

View file

@ -44,6 +44,7 @@ public:
ChatView(const TabSupervisor *_tabSupervisor, TabGame *_game, bool _showTimestamps, QWidget *parent = 0);
void retranslateUi();
void appendHtml(const QString &html);
void appendHtmlServerMessage(const QString &html);
void appendMessage(QString message, QString sender = QString(), UserLevelFlags userLevel = UserLevelFlags(), bool playerBold = false);
void clearChat();
protected: