diff --git a/bot/src/bluesky/atproto.rs b/bot/src/bluesky/atproto.rs index c8340f9..ca8e1ab 100644 --- a/bot/src/bluesky/atproto.rs +++ b/bot/src/bluesky/atproto.rs @@ -122,7 +122,12 @@ impl From for ATProtoRepoCreateRecord { Some(ATprotoRepoCreateRecordEmbed::new( post.link.unwrap().as_str(), post.title.unwrap().as_str(), - post.summary.unwrap().as_str(), + post.summary + .clone() + .unwrap() + .as_str() + .get(0..=300) + .unwrap_or(post.summary.unwrap().as_str()), None, )), ),