improve parent selection when opening a room (#2388)
authorAjay Bura <32841439+ajbura@users.noreply.github.com>
Fri, 11 Jul 2025 11:03:55 +0000 (16:33 +0530)
committerGitHub <noreply@github.com>
Fri, 11 Jul 2025 11:03:55 +0000 (21:03 +1000)
commitfbd7e0a14b4e50c7af69815d57254f97233296a3
tree5dff628a2177d332f621abcc4b2d37a6111b29a7
parent6b81401e2da8c1d1e61d297d256dc06d8f4e599b
improve parent selection when opening a room (#2388)

when a room has more than one orphan parent, we will select parent which has highest number of special users who have special powers in selected room.
src/app/hooks/useRoomNavigate.ts
src/app/utils/room.ts