void GxsChannelPostsWidget::insertPosts(const uint32_t &token) { std::vector<RsGxsChannelPost> posts; rsGxsChannels->getPostData(token, posts); insertChannelPosts(posts, NULL, true); }
void GxsChannelPostsWidget::insertAllPosts(const uint32_t &token, GxsMessageFramePostThread *thread) { std::vector<RsGxsChannelPost> posts; rsGxsChannels->getPostData(token, posts); insertChannelPosts(posts, thread, false); }
void GxsChannelDialog::loadPosts(const uint32_t &token) { #ifdef DEBUG_CHANNEL std::cerr << "GxsChannelDialog::loadPosts()"; std::cerr << std::endl; #endif std::vector<RsGxsChannelPost> posts; rsGxsChannels->getPostData(token, posts); mStateHelper->setActive(TOKEN_TYPE_POSTS, true); insertChannelPosts(posts); mStateHelper->setLoading(TOKEN_TYPE_POSTS, false); }