Parakeet is a Rust-based Bluesky AppServer aiming to implement most of the functionality required to support the Bluesky client
appview atproto bluesky rust appserver
66
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(consumer): i forgor mentions is nullable

Mia d3c0c5d8 bb27cc62

+2 -2
+2 -2
consumer/src/db/gates.rs
··· 65 65 let mentions: Vec<String> = conn 66 66 .query_opt("SELECT mentions FROM posts WHERE at_uri=$1", &[&root]) 67 67 .await? 68 - .map(|r| r.try_get(0)) 68 + .and_then(|r| r.try_get::<_, Option<_>>(0).transpose()) 69 69 .transpose()? 70 70 .unwrap_or_default(); 71 71 ··· 181 181 let mentions: Vec<String> = conn 182 182 .query_opt("SELECT mentions FROM posts WHERE at_uri=$1", &[&root]) 183 183 .await? 184 - .map(|r| r.try_get(0)) 184 + .and_then(|r| r.try_get::<_, Option<_>>(0).transpose()) 185 185 .transpose()? 186 186 .unwrap_or_default(); 187 187