make welcome message direct

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

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

Loading…
Cancel
Save