~vpzom/lotide

d3a58b4f307a26b1475a366c6b95891654cc4b1b — Colin Reeder 12 days ago d0f9369
Handle case for missing community description
1 files changed, 2 insertions(+), 1 deletions(-)

M src/apub_util.rs
M src/apub_util.rs => src/apub_util.rs +2 -1
@@ 437,7 437,8 @@ pub async fn fetch_actor(
                .unwrap_or("");
            let description = group
                .summary()
                .and_then(|maybe| maybe.iter().filter_map(|x| x.as_xsd_string()).next());
                .and_then(|maybe| maybe.iter().filter_map(|x| x.as_xsd_string()).next())
                .unwrap_or("");
            let inbox = group.inbox_unchecked().as_str();
            let shared_inbox = group
                .endpoints_unchecked()