From 26f1e234a25a86ffec4a51c1846809902fefbd3d Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 2 Jun 2026 14:47:48 -0400 Subject: [PATCH] fix: add m.server_notice icon case to getRoomIconSrc Server notice rooms were falling through to the default hash/lock icon in the room list. Now return Icons.Warning before any other type checks. Co-Authored-By: Claude Sonnet 4.6 --- src/app/utils/room.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/utils/room.ts b/src/app/utils/room.ts index 83af45052..97a90dd85 100644 --- a/src/app/utils/room.ts +++ b/src/app/utils/room.ts @@ -263,6 +263,8 @@ export const getRoomIconSrc = ( roomType?: string, joinRule?: JoinRule, ): IconSrc => { + if (roomType === 'm.server_notice') return icons.Warning; + if (roomType === RoomType.Space) { if (joinRule === JoinRule.Public) return icons.SpaceGlobe; if (