diff --git a/libretroshare/src/gxs/rsgxsnetservice.cc b/libretroshare/src/gxs/rsgxsnetservice.cc index 6bebc6f6f..6f5dbf093 100644 --- a/libretroshare/src/gxs/rsgxsnetservice.cc +++ b/libretroshare/src/gxs/rsgxsnetservice.cc @@ -258,8 +258,8 @@ || defined(NXS_NET_DEBUG_4) || defined(NXS_NET_DEBUG_5) || defined(NXS_NET_DEBUG_6) || defined(NXS_NET_DEBUG_7) static const RsPeerId peer_to_print = RsPeerId(std::string("")) ; -static const RsGxsGroupId group_id_to_print = RsGxsGroupId(std::string("2cd04bbf91e29b1f1b87aa9aa4e358f3" )) ; // use this to allow to this group id only, or "" for all IDs -static const uint32_t service_to_print = 0x215 ; // use this to allow to this service id only, or 0 for all services +static const RsGxsGroupId group_id_to_print = RsGxsGroupId(std::string("" )) ; // use this to allow to this group id only, or "" for all IDs +static const uint32_t service_to_print = 0x218 ; // use this to allow to this service id only, or 0 for all services // warning. Numbers should be SERVICE IDS (see serialiser/rsserviceids.h. E.g. 0x0215 for forums) class nullstream: public std::ostream {}; diff --git a/retroshare-gui/src/gui/Identity/IdDialog.cpp b/retroshare-gui/src/gui/Identity/IdDialog.cpp index ae9ce1c29..06eda9d97 100644 --- a/retroshare-gui/src/gui/Identity/IdDialog.cpp +++ b/retroshare-gui/src/gui/Identity/IdDialog.cpp @@ -503,6 +503,7 @@ void IdDialog::circle_selected() mStateHelper->setWidgetEnabled(ui->pushButton_editCircle, false); ui->pushButton_editCircle->setText(tr("Show details")) ; ui->pushButton_editCircle->setEnabled(false) ; + mark_matching_tree(ui->idTreeWidget, std::set(), RSID_COL_KEYID) ; return; } @@ -522,7 +523,10 @@ void IdDialog::circle_selected() /* update friend lists */ RsGxsCircleDetails details; - for(int i=0;i<6 && !(rsGxsCircles->getCircleDetails(id, details));++i) usleep(300*1000) ; + // This is a trick to force caching the circle data, allowing to wait for at most 1.2 secs. + // A better choice would be to make the loading asynced. + + for(int i=0;i<6 && !(rsGxsCircles->getCircleDetails(id, details));++i) usleep(200*1000) ; /* now mark all the members */