mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-16 04:52:37 -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
|
@ -39,7 +39,7 @@
|
|||
#include "serialiser/rsnxsitems.h"
|
||||
#include "rsgxsutil.h"
|
||||
|
||||
#define DEFAULT_MSG_STORE_PERIOD 60*60*24*30 // 1 month
|
||||
#define DEFAULT_MSG_STORE_PERIOD 60*60*24*31*4 // 4 months
|
||||
|
||||
template<class GxsItem, typename Identity = std::string>
|
||||
class GxsPendingItem
|
||||
|
@ -307,6 +307,7 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
bool messagePublicationTest(const RsGxsMsgMetaData&) ;
|
||||
/*!
|
||||
* retrieves group data associated to a request token
|
||||
* @param token token to be redeemed for grpitem retrieval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue