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
This commit is contained in:
thunder2 2012-02-06 16:58:45 +00:00
parent 04dedf5ce0
commit 92275e8e85

View File

@ -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));