chore: update ruma again

This commit is contained in:
Timo Kösters
2021-07-20 15:24:18 +02:00
parent 0f8ecdc625
commit f0ac7ed933
6 changed files with 35 additions and 39 deletions

View File

@@ -316,7 +316,7 @@ pub async fn get_public_rooms_filtered_helper(
.map(|q| q.to_lowercase())
{
if let Some(name) = &chunk.name {
if name.to_lowercase().contains(&query) {
if name.as_str().to_lowercase().contains(&query) {
return true;
}
}