mirror of
https://github.com/RetroShare/libretroshare.git
synced 2026-09-14 11:05:45 +05:00
Merge pull request #347 from defnax/api-rshistory
API for rsHistory needed for webui chat settings
This commit is contained in:
commit
61434cd485
@ -137,17 +137,20 @@ public:
|
||||
|
||||
/*!
|
||||
* @brief Retrieves the maximum storage time period for messages in history
|
||||
* @jsonapi{development}
|
||||
* @return max storage duration of chat.
|
||||
*/
|
||||
virtual uint32_t getMaxStorageDuration() = 0;
|
||||
/*!
|
||||
* @brief Sets the maximum storage time period for messages in history
|
||||
* @jsonapi{development}
|
||||
* @param[in] seconds max storage duration time in seconds
|
||||
*/
|
||||
virtual void setMaxStorageDuration(uint32_t seconds) = 0;
|
||||
|
||||
/*!
|
||||
* @brief Gets the maximum number of messages to save
|
||||
* @jsonapi{development}
|
||||
* @param[in] chat_type Type of chat for that number limit
|
||||
* @return maximum number of messages to save
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user