mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-28 16:17:28 -04:00
Forum API add missing subscribe method
This commit is contained in:
parent
a802e494f8
commit
abec811d31
4 changed files with 24 additions and 1 deletions
|
@ -159,6 +159,16 @@ public:
|
|||
*/
|
||||
virtual bool markRead(const RsGxsGrpMsgIdPair& messageId, bool read) = 0;
|
||||
|
||||
/**
|
||||
* @brief Subscrbe to a forum. Blocking API
|
||||
* @jsonapi{development}
|
||||
* @param[in] forumId Forum id
|
||||
* @param[in] subscribe true to subscribe, false to unsubscribe
|
||||
* @return false on error, true otherwise
|
||||
*/
|
||||
virtual bool subscribeToForum( const RsGxsGroupId& forumId,
|
||||
bool subscribe ) = 0;
|
||||
|
||||
/* Specific Service Data */
|
||||
RS_DEPRECATED_FOR("getForumsSummaries, getForumsInfo")
|
||||
virtual bool getGroupData(const uint32_t &token, std::vector<RsGxsForumGroup> &groups) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue