From 92275e8e85dab8e7651ce6b89b1517412c7aac5f Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 6 Feb 2012 16:58:45 +0000 Subject: [PATCH] Switched the used chat style for the lobbies from private to public. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4893 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/chat/ChatWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index 3e80da721..cb57b6951 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -63,7 +63,6 @@ ChatWidget::ChatWidget(QWidget *parent) : firstShow = true; lastStatusSendTime = 0 ; - chatStyle.setStyleFromSettings(ChatStyle::TYPE_PRIVATE); connect(ui->sendButton, SIGNAL(clicked()), this, SLOT(sendChat())); connect(ui->addFileButton, SIGNAL(clicked()), this , SLOT(addExtraFile())); @@ -141,6 +140,9 @@ void ChatWidget::init(const std::string &peerId, const QString &title) ChatLobbyId lid; if (rsMsgs->isLobbyId(peerId, lid)) { isChatLobby = true; + chatStyle.setStyleFromSettings(ChatStyle::TYPE_PUBLIC); + } else { + chatStyle.setStyleFromSettings(ChatStyle::TYPE_PRIVATE); } currentColor.setNamedColor(PeerSettings->getPrivateChatColor(peerId));