diff --git a/libretroshare/src/gxs/rsdataservice.cc b/libretroshare/src/gxs/rsdataservice.cc index 2a5ef97ae..6836fa028 100644 --- a/libretroshare/src/gxs/rsdataservice.cc +++ b/libretroshare/src/gxs/rsdataservice.cc @@ -705,7 +705,7 @@ int RsDataService::retrieveNxsGrps(std::map &grp, bool } } - if(withMeta) + if(withMeta && !grp.empty()) { std::map metaMap; std::map::iterator mit = grp.begin();