Visibility and Accessibility APIs
Closed this issue · 2 comments
I am not clear what is missing:
Space.isPublic
shows whether the space ispublic
orprivate
Convo.isEncrypted
andSpace.isEncrypted
indicate whether it is encrypted.joinRuleStr
gives you the info about which join rule is being used (it is already being used afaik)
Setting the join rule we have the JoinRuleBuilder
, which you get from the the api directly with newJoinRuleBuilder
and then pass to room.setJoinRule
once you have fully set it up.
With the latter you can set the join rule simply by doing builder.joinRule(str)
where str
is any of of:
private
, public
, invite
, knock
, restricted
or knock_restricted
. Public marks it as public. the restricted
ones do use the provided addRooms
to limit to membership from those rooms.
I think this is all that is needed. Anything we are missing for #1379 , @kumarpalsinh25 ?
I think this is all that is needed. Anything we are missing for #1379 , @kumarpalsinh25 ?
I think this should be sufficient. Still if need anything then I will update you. Thanks.