make welcome message direct

This commit is contained in:
Ondřej Hruška 2021-08-22 12:12:36 +02:00
parent cf61f21d42
commit 482a93c172
No known key found for this signature in database
GPG key ID: 2C5FD5035250423D

View file

@ -497,7 +497,7 @@ impl GroupHandle {
let post = StatusBuilder::new() let post = StatusBuilder::new()
.status(text) .status(text)
.content_type("text/markdown") .content_type("text/markdown")
.visibility(Visibility::Unlisted) .visibility(Visibility::Direct)
.build().expect("error build status"); .build().expect("error build status");
let _ = self.client.new_status(post).await.log_error("Failed to post"); let _ = self.client.new_status(post).await.log_error("Failed to post");