diff --git a/lib/domain/model/room/room_list_extension.dart b/lib/domain/model/room/room_list_extension.dart index 304002f144..db1d5134b7 100644 --- a/lib/domain/model/room/room_list_extension.dart +++ b/lib/domain/model/room/room_list_extension.dart @@ -14,7 +14,10 @@ extension RoomListExtension on List { .map((room) => room.toRecentChatSearchModel(matrixLocalizations)) .where( (model) => - model.displayName != null && model.displayName!.contains(keyword), + model.displayName != null && + model.displayName!.toLowerCase().contains( + keyword.toLowerCase(), + ), ) .take(limit ?? length) .toList();