Allow spaces to be searched by name (#404)

This commit is contained in:
VAWVAW 2025-05-23 16:26:17 +00:00 committed by GitHub
parent af96bfbb41
commit fd3fef5c9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1056,7 +1056,7 @@ impl RoomLikeItem for RoomItem {
impl Display for RoomItem {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, ":verify request {}", self.name)
write!(f, "{}", self.name)
}
}
@ -1263,7 +1263,7 @@ impl RoomLikeItem for SpaceItem {
impl Display for SpaceItem {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, ":verify request {}", self.room_id())
write!(f, "{}", self.name)
}
}