mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-23 13:54:27 -04:00
fixed bug causing forum posts to disappear/re-appear and to be set unread again. The bug was due to inconsistency between cleaning old messages and still inserting old messages again. Also augmented the storage period to 4 months (previously 1 month). Challenge: we should keep threads until the newest post in the thread is older than 4 months
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7554 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9963cca4a6
commit
38c7e50e06
3 changed files with 64 additions and 21 deletions
|
@ -1110,7 +1110,7 @@ void MessagesDialog::insertMessages()
|
|||
text = "RetroShare";
|
||||
} else {
|
||||
text = QString::fromUtf8(rsPeers->getPeerName(it->srcId).c_str());
|
||||
std::cerr << "(messages) getting name for id " << it->srcId << " => \"" << text.toStdString() << "\"" << std::endl;
|
||||
//std::cerr << "(messages) getting name for id " << it->srcId << " => \"" << text.toStdString() << "\"" << std::endl;
|
||||
if(text == "")
|
||||
{
|
||||
RsIdentityDetails details;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue