make conduwuit show up as the server software name on /_matrix/federation/v1/version (#186)

conduwuit > /_matrix/federation/v1/version

Co-authored-by: June <june@girlboss.ceo>
This commit is contained in:
sininenkissa 2024-03-02 00:29:21 +00:00 committed by GitHub
parent 82f10214b3
commit e71855cd0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -627,7 +627,7 @@ pub async fn get_server_version_route(
Ok(get_server_version::v1::Response {
server: Some(get_server_version::v1::Server {
name: Some(env!("CARGO_PKG_NAME").to_owned()),
name: Some("Conduwuit".to_owned()),
version: Some(env!("CARGO_PKG_VERSION").to_owned()),
}),
})