mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
04dedf5ce0
commit
92275e8e85
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user