mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-05 01:25:39 -05: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;
|
firstShow = true;
|
||||||
|
|
||||||
lastStatusSendTime = 0 ;
|
lastStatusSendTime = 0 ;
|
||||||
chatStyle.setStyleFromSettings(ChatStyle::TYPE_PRIVATE);
|
|
||||||
|
|
||||||
connect(ui->sendButton, SIGNAL(clicked()), this, SLOT(sendChat()));
|
connect(ui->sendButton, SIGNAL(clicked()), this, SLOT(sendChat()));
|
||||||
connect(ui->addFileButton, SIGNAL(clicked()), this , SLOT(addExtraFile()));
|
connect(ui->addFileButton, SIGNAL(clicked()), this , SLOT(addExtraFile()));
|
||||||
@ -141,6 +140,9 @@ void ChatWidget::init(const std::string &peerId, const QString &title)
|
|||||||
ChatLobbyId lid;
|
ChatLobbyId lid;
|
||||||
if (rsMsgs->isLobbyId(peerId, lid)) {
|
if (rsMsgs->isLobbyId(peerId, lid)) {
|
||||||
isChatLobby = true;
|
isChatLobby = true;
|
||||||
|
chatStyle.setStyleFromSettings(ChatStyle::TYPE_PUBLIC);
|
||||||
|
} else {
|
||||||
|
chatStyle.setStyleFromSettings(ChatStyle::TYPE_PRIVATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
currentColor.setNamedColor(PeerSettings->getPrivateChatColor(peerId));
|
currentColor.setNamedColor(PeerSettings->getPrivateChatColor(peerId));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user