worked on display of posts and selection in new forum model

This commit is contained in:
csoler 2018-11-22 22:07:58 +01:00
parent 3edd1dd0dd
commit 20b8bca801
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 166 additions and 53 deletions

View file

@ -150,6 +150,19 @@ public:
const std::list<RsGxsGroupId>& forumIds,
std::vector<RsGxsForumMsg>& messages ) = 0;
/**
* @brief Get specific list of messages from a single forums. Blocking API
* @jsonapi{development}
* @param[in] forumId id of the forum of which the content is requested
* @param[in] msgs_to_request list of message ids to request
* @param[out] msgs storage for the forum messages
* @return false if something failed, true otherwhise
*/
virtual bool getForumsContent(
const RsGxsGroupId& forumId,
std::set<RsGxsMessageId>& msgs_to_request,
std::vector<RsGxsForumMsg>& msgs) =0;
/**
* @brief Toggle message read status. Blocking API.
* @jsonapi{development}