post visibility day
This commit is contained in:
parent
c268edfb61
commit
1f3ec2bf39
|
@ -25,7 +25,7 @@ impl Sink<String> for MastodonPublisher {
|
||||||
|
|
||||||
fn start_send(self: Pin<&mut Self>, item: String) -> Result<(), Self::Error> {
|
fn start_send(self: Pin<&mut Self>, item: String) -> Result<(), Self::Error> {
|
||||||
let mut post = StatusBuilder::new(item);
|
let mut post = StatusBuilder::new(item);
|
||||||
post.visibility = Some(Visibility::Direct);
|
post.visibility = Some(Visibility::Public);
|
||||||
self.mastodon.new_status(post)?;
|
self.mastodon.new_status(post)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue