feat: add discoverability and analytics flags

This commit is contained in:
Paul Makles
2022-01-03 12:46:10 +00:00
parent 03ca611553
commit 345c4c627c
10 changed files with 36 additions and 10 deletions

View File

@@ -66,7 +66,9 @@ pub async fn req(_idempotency: IdempotencyKey, user: User, info: Json<Data>) ->
banner: None,
flags: None,
nsfw: info.nsfw.unwrap_or_default()
nsfw: info.nsfw.unwrap_or_default(),
analytics: false,
discoverable: false,
};
Channel::TextChannel {