feat: add discoverability and analytics flags (#130)

This commit is contained in:
Paul Makles
2022-01-03 13:12:13 +00:00
committed by GitHub
parent 03ca611553
commit 139e704746
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 {