make welcome message direct

master
Ondřej Hruška 3 years ago
parent cf61f21d42
commit 482a93c172
Signed by untrusted user: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 2
      src/group_handle.rs

@ -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");

Loading…
Cancel
Save