mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05: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
@ -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…
Reference in New Issue
Block a user