mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 23:00:56 -04:00
- added history parameters for chat lobbies
- added max storage time for items in chat history. Avoids filling up the history with chat from volatile peers. - worked out the layout in config->ChatPage in a more compact design and added help - set the max size of chat messages to 6000 bytes instead of 2000 which was a bit too low - default max number of lobby messages saved in each lobby is 20. Avoids flooding for peers who havn't configured it yet. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6770 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f25f46dffb
commit
e21d869006
11 changed files with 544 additions and 218 deletions
|
@ -462,7 +462,15 @@ void RshareSettings::setHistoryChatStyle(const QString &stylePath, const QString
|
|||
setValueToGroup("Chat", "StyleHistory", stylePath);
|
||||
setValueToGroup("Chat", "StylePrivateVariant", styleVariant);
|
||||
}
|
||||
int RshareSettings::getLobbyChatHistoryCount()
|
||||
{
|
||||
return valueFromGroup("Chat", "LobbyChatHistoryCount", 0).toInt();
|
||||
}
|
||||
|
||||
void RshareSettings::setLobbyChatHistoryCount(int value)
|
||||
{
|
||||
setValueToGroup("Chat", "LobbyChatHistoryCount", value);
|
||||
}
|
||||
int RshareSettings::getPublicChatHistoryCount()
|
||||
{
|
||||
return valueFromGroup("Chat", "PublicChatHistoryCount", 0).toInt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue