mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
sometimes names are just incredible
This commit is contained in:
parent
096874d5f4
commit
db68afe8dd
|
@ -43,9 +43,9 @@ QString ChatAction::QImage2base64(const QImage &img)
|
||||||
QString ChatAction::getName()
|
QString ChatAction::getName()
|
||||||
{
|
{
|
||||||
if (isMe)
|
if (isMe)
|
||||||
return QString("<div class=name_me>" + name + "</div>");
|
return QString("<div class=name_me>" + toHtmlChars(name) + "</div>");
|
||||||
else
|
else
|
||||||
return QString("<div class=name>" + name + "</div>");
|
return QString("<div class=name>" + toHtmlChars(name) + "</div>");
|
||||||
}
|
}
|
||||||
|
|
||||||
QString ChatAction::getDate()
|
QString ChatAction::getDate()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user