mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
show gxs message store period in gui, set forums store period to one year
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8206 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e663fa608c
commit
451718660a
7 changed files with 28 additions and 5 deletions
|
@ -170,6 +170,11 @@ public:
|
|||
* @param CutOff The cut off value to set
|
||||
*/
|
||||
virtual void setGroupReputationCutOff(uint32_t& token, const RsGxsGroupId& grpId, int CutOff) = 0;
|
||||
|
||||
/*!
|
||||
* @return storage time of messages in months
|
||||
*/
|
||||
virtual int getStoragePeriod() = 0;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -208,6 +208,14 @@ public:
|
|||
return mGxs->setGroupReputationCutOff(token, grpId, CutOff);
|
||||
}
|
||||
|
||||
/*!
|
||||
* @return storage time of messages in months
|
||||
*/
|
||||
int getStoragePeriod()
|
||||
{
|
||||
return mGxs->getStoragePeriod();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
RsGxsIface* mGxs;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue