mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Merge pull request #1670 from csoler/v0.6-GXS-DistSync
fixed bug causing crash when forum being displayed is deleted
This commit is contained in:
commit
b7e3300689
1 changed files with 1 additions and 1 deletions
|
@ -744,7 +744,7 @@ void RsGxsForumModel::update_posts(const RsGxsGroupId& group_id)
|
||||||
|
|
||||||
forumIds.push_back(group_id);
|
forumIds.push_back(group_id);
|
||||||
|
|
||||||
if(!rsGxsForums->getForumsInfo(forumIds,groups))
|
if(!rsGxsForums->getForumsInfo(forumIds,groups) || groups.size() != 1)
|
||||||
{
|
{
|
||||||
std::cerr << __PRETTY_FUNCTION__ << " failed to retrieve forum group info for forum " << group_id << std::endl;
|
std::cerr << __PRETTY_FUNCTION__ << " failed to retrieve forum group info for forum " << group_id << std::endl;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue