Compare commits

...

2 Commits

Author SHA1 Message Date
Nutomic 88467fa023
Update nodeinfo.rs 2024-05-06 15:05:46 +02:00
Nutomic b4fe42cff2
restore line 2024-05-06 15:04:14 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ async fn node_info(context: web::Data<LemmyContext>) -> Result<HttpResponse, Err
.ok_or(ErrorBadRequest(LemmyError::from(anyhow!("not_found"))))?;
let protocols = if site_view.local_site.federation_enabled {
None
Some(vec!["activitypub".to_string()])
} else {
None
};