post merge lint fixes

This commit is contained in:
Valere
2025-10-10 15:04:12 +02:00
parent 4608d68cd9
commit 4a8f5bccac
2 changed files with 34 additions and 30 deletions

View File

@@ -141,8 +141,8 @@ export function useGroupCallRooms(client: MatrixClient): GroupCallRoom[] {
.filter(roomIsJoinable); .filter(roomIsJoinable);
const sortedRooms = sortRooms(client, rooms); const sortedRooms = sortRooms(client, rooms);
Promise.all( Promise.all(
sortedRooms.map(async (room) => { sortedRooms.map((room) => {
const session = await client.matrixRTC.getRoomSession(room); const session = client.matrixRTC.getRoomSession(room);
return { return {
roomAlias: room.getCanonicalAlias() ?? undefined, roomAlias: room.getCanonicalAlias() ?? undefined,
roomName: room.name, roomName: room.name,

View File

@@ -150,7 +150,8 @@ export const RoomPage: FC = () => {
</> </>
); );
return ( return (
muteStates && <LobbyView muteStates && (
<LobbyView
client={client!} client={client!}
matrixInfo={{ matrixInfo={{
userId: client!.getUserId() ?? "", userId: client!.getUserId() ?? "",
@@ -161,7 +162,9 @@ export const RoomPage: FC = () => {
roomName: groupCallState.roomSummary.name ?? "", roomName: groupCallState.roomSummary.name ?? "",
roomAvatar: groupCallState.roomSummary.avatar_url ?? null, roomAvatar: groupCallState.roomSummary.avatar_url ?? null,
e2eeSystem: { e2eeSystem: {
kind: groupCallState.roomSummary["im.nheko.summary.encryption"] kind: groupCallState.roomSummary[
"im.nheko.summary.encryption"
]
? E2eeType.PER_PARTICIPANT ? E2eeType.PER_PARTICIPANT
: E2eeType.NONE, : E2eeType.NONE,
}, },
@@ -178,6 +181,7 @@ export const RoomPage: FC = () => {
muteStates={muteStates} muteStates={muteStates}
onShareClick={null} onShareClick={null}
/> />
)
); );
} }
case "loading": case "loading":