mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-09 23:21:30 -07:00
remove unpublished rooms from catalogs
This commit is contained in:
@@ -68,6 +68,12 @@ export enum MessageType {
|
||||
* A room's (or image's) visibility, matching the client's `RoomAccessibility`. The
|
||||
* client declares the enum without explicit values, so these are its ordinals — and
|
||||
* it sends the NAME, not the number, on the subroom accessibility route.
|
||||
*
|
||||
* `Unlisted` is NOT a lesser `Public`: an unlisted room is open to anyone who has a
|
||||
* link or an invite, it just doesn't surface in the catalogs (hot/search/
|
||||
* recommendations/featured/similar, which all key on `Public`). `Private` is the
|
||||
* unpublished state — a room its owner hasn't opened up at all, which is where a
|
||||
* freshly cloned room starts.
|
||||
*/
|
||||
export enum Accessibility {
|
||||
Private = 0,
|
||||
|
||||
Reference in New Issue
Block a user