mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -04:00
Added quick fix to show the plain name and title in the chat lobby.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
af5c31a4f5
commit
30c4a6ef93
8 changed files with 35 additions and 21 deletions
|
@ -106,6 +106,7 @@
|
|||
#include "gui/settings/rsharesettings.h"
|
||||
#include "gui/notifyqt.h"
|
||||
#include "util/DateTime.h"
|
||||
#include "util/HandleRichText.h"
|
||||
|
||||
#include <retroshare/rsinit.h>
|
||||
|
||||
|
@ -323,7 +324,7 @@ QString ChatStyle::formatMessage(enumFormatMessage type, const QString &name, co
|
|||
Q_UNUSED(flag);
|
||||
#endif
|
||||
|
||||
QString formatMsg = style.replace("%name%", name)
|
||||
QString formatMsg = style.replace("%name%", RsHtml::plainText(name))
|
||||
.replace("%date%", DateTime::formatDate(timestamp.date()))
|
||||
.replace("%time%", DateTime::formatTime(timestamp.time()))
|
||||
#ifdef COLORED_NICKNAMES
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue