Index only public channels

This commit is contained in:
Gioacchino Mazzurco 2018-06-11 13:03:01 +02:00
parent 0f63283f96
commit 5a41b3cb37
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
2 changed files with 39 additions and 38 deletions

View file

@ -49,10 +49,9 @@ extern RsGxsCircles *rsGxsCircles;
typedef RsPgpId RsPgpId;
// The meaning of the different circle types is:
//
//
static const uint32_t GXS_CIRCLE_TYPE_UNKNOWN = 0x0000 ; // not known. Is treated as public.
/// The meaning of the different circle types is:
/// TODO: convert to enum
static const uint32_t GXS_CIRCLE_TYPE_UNKNOWN = 0x0000 ; /// Used to detect uninizialized values.
static const uint32_t GXS_CIRCLE_TYPE_PUBLIC = 0x0001 ; // not restricted to a circle
static const uint32_t GXS_CIRCLE_TYPE_EXTERNAL = 0x0002 ; // restricted to an external circle, made of RsGxsId
static const uint32_t GXS_CIRCLE_TYPE_YOUR_FRIENDS_ONLY = 0x0003 ; // restricted to a subset of friend nodes of a given RS node given by a RsPgpId list