mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 22:01:05 -05:00
fixed bug causing crash when forum being displayed is deleted
This commit is contained in:
parent
529dc2aa00
commit
398c943f40
@ -744,7 +744,7 @@ void RsGxsForumModel::update_posts(const RsGxsGroupId& 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;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user