mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Added @ back in
Added the @ back to the chat, this will help if a user does not have the newest version of the client.
This commit is contained in:
parent
49d3ad73d5
commit
ece56ff3f2
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
|
|||
int mentionIndex;
|
||||
while ((mentionIndex = message.toLower().indexOf(mention)) != -1) {
|
||||
cursor.insertText(message.left(mentionIndex), defaultFormat);
|
||||
cursor.insertText(userName, mentionFormat);
|
||||
cursor.insertText("@" + userName, mentionFormat);
|
||||
message = message.mid(mentionIndex + mention.size());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue