Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/retroshare/rshistory.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
class RsHistory;
class ChatId;

/**
* @jsonapi{development}
*/
extern RsHistory *rsHistory;

#include <string>
Expand Down Expand Up @@ -112,7 +115,7 @@ class RsHistory
/*!
* @brief clears the message history for a given chat peer
* @jsonapi{development}
* @param[in] chatPeerID Id of the chat/peer for which the history needs to be wiped
* @param[in] chatPeerId Id of the chat/peer for which the history needs to be wiped
*/
virtual void clear(const ChatId &chatPeerId) = 0;

Expand All @@ -128,7 +131,7 @@ class RsHistory
* @brief Set whether chat history is enabled or not
* @jsonapi{development}
* @param[in] chat_type Type of chat (see list of constants above)
* @param[in] enabled Desired state of the variable
* @param[in] enable Desired state of the variable
*/
virtual void setEnable(uint32_t chat_type, bool enable) = 0;

Expand All @@ -152,6 +155,7 @@ class RsHistory

/*!
* @brief Sets the maximum number of messages to save
* @jsonapi{development}
* @param[in] chat_type Type of chat for that number limit
* @param[in] count Max umber of messages, 0 meaning indefinitely
*/
Expand Down
Loading